Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2086, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04405/0.2527, allocations: 45.94 MB / 455.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.2748, allocations: 12.1 MB / 468 MB, free: 7.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007529/0.2824, allocations: 358.8 kB / 468.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02678/0.3092, allocations: 12.49 MB / 480.9 MB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.3237, allocations: 4.92 MB / 485.8 MB, free: 5.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008308/0.3321, allocations: 3.051 MB / 488.8 MB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0231/0.3552, allocations: 21.09 MB / 0.498 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0573/0.4125, allocations: 41.95 MB / 0.5389 GB, free: 3.105 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3705/0.783, allocations: 10.99 MB / 0.5497 GB, free: 40.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01542/0.7984, allocations: 12.19 MB / 0.5616 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006791/0.8053, allocations: 3.138 MB / 0.5646 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009024/0.8143, allocations: 3.566 MB / 0.5681 GB, free: 39.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008744/0.8231, allocations: 6.245 MB / 0.5742 GB, free: 38.83 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01954/0.8426, allocations: 11.91 MB / 0.5859 GB, free: 32.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03442/0.8771, allocations: 41.51 MB / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8771, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.8771, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009277/0.8781, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06579/0.9439, allocations: 23.93 MB / 0.6498 GB, free: 9.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9439, allocations: 12.02 kB / 0.6498 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06404/1.008, allocations: 11.39 MB / 0.6609 GB, free: 13.72 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0269/1.035, allocations: 13.45 MB / 0.674 GB, free: 0.7461 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/1.036, allocations: 1.363 MB / 0.6754 GB, free: 15.4 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005573/1.042, allocations: 1.79 MB / 0.6771 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06563/1.107, allocations: 29.58 MB / 0.706 GB, free: 15.98 MB / 0.5451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005578/1.108, allocations: 27.36 kB / 0.706 GB, free: 15.95 MB / 0.5451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004781/1.113, allocations: 0.7453 MB / 0.7068 GB, free: 15.23 MB / 0.5451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009236/1.114, allocations: 0.9829 MB / 0.7077 GB, free: 14.24 MB / 0.5451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05062/1.164, allocations: 27.3 MB / 0.7344 GB, free: 2.926 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5111/1.675, allocations: 93.79 MB / 0.826 GB, free: 146 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02943/1.705, allocations: 52.59 MB / 0.8773 GB, free: 93.85 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009474/1.714, allocations: 7.35 MB / 0.8845 GB, free: 86.49 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02745/1.742, allocations: 19.68 MB / 0.9037 GB, free: 66.97 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.742, allocations: 108.5 kB / 0.9038 GB, free: 66.86 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=677): time 8.817e-06/1.742, allocations: 0 / 0.9038 GB, free: 66.86 MB / 0.5764 GB Notification: Performance of matching and sorting (n=685): time 0.07387/1.816, allocations: 38.15 MB / 0.9411 GB, free: 28.3 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/1.816, allocations: 151.1 kB / 0.9412 GB, free: 28.14 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/1.824, allocations: 7.131 MB / 0.9482 GB, free: 21.03 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0009454/1.825, allocations: 137.7 kB / 0.9483 GB, free: 20.89 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.828, allocations: 7.823 MB / 0.956 GB, free: 13.02 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.83, allocations: 2.331 MB / 0.9582 GB, free: 10.71 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.832, allocations: 1.866 MB / 0.9601 GB, free: 8.832 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/1.832, allocations: 301.1 kB / 0.9603 GB, free: 8.535 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/1.838, allocations: 4.856 MB / 0.9651 GB, free: 3.672 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2193/2.057, allocations: 8.338 MB / 0.9732 GB, free: 182.6 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/2.073, allocations: 14 MB / 0.9869 GB, free: 175.1 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/2.073, allocations: 34.56 kB / 0.9869 GB, free: 175.1 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02384/2.097, allocations: 16.07 MB / 1.003 GB, free: 168.8 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/2.097, allocations: 55.09 kB / 1.003 GB, free: 168.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/2.097, allocations: 110.5 kB / 1.003 GB, free: 168.8 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005747/2.103, allocations: 2.581 MB / 1.005 GB, free: 168.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00711/2.11, allocations: 2.101 MB / 1.007 GB, free: 167.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/2.139, allocations: 30.76 MB / 1.037 GB, free: 146.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/2.146, allocations: 0.5284 MB / 1.038 GB, free: 145.7 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007891/2.147, allocations: 455.7 kB / 1.038 GB, free: 145.3 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008453/2.155, allocations: 6.772 MB / 1.045 GB, free: 139.6 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/2.157, allocations: 0.7689 MB / 1.046 GB, free: 139.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/2.175, allocations: 13.08 MB / 1.058 GB, free: 127.2 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/2.175, allocations: 35.88 kB / 1.059 GB, free: 127.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/2.176, allocations: 7.922 kB / 1.059 GB, free: 127.1 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003327/2.179, allocations: 1.749 MB / 1.06 GB, free: 125.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/2.18, allocations: 128 kB / 1.06 GB, free: 125.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/2.184, allocations: 392.8 kB / 1.061 GB, free: 125.2 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009358/2.184, allocations: 0.5794 MB / 1.061 GB, free: 124.7 MB / 0.5764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01991/2.204, allocations: 12.47 MB / 1.073 GB, free: 112.2 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0166/2.221, allocations: 14.47 MB / 1.088 GB, free: 97.66 MB / 0.5764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004854/2.226, allocations: 4.605 MB / 1.092 GB, free: 93.03 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.006044/2.232, allocations: 4.814 MB / 1.097 GB, free: 88.24 MB / 0.5764 GB Notification: Performance of Backend: time 3.91e-07/2.232, allocations: 0 / 1.097 GB, free: 88.24 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.247, allocations: 9.794 MB / 1.106 GB, free: 78.38 MB / 0.5764 GB Notification: Performance of SimCode: time 0.04346/2.291, allocations: 31.42 MB / 1.137 GB, free: 46.99 MB / 0.5764 GB Notification: Performance of Templates: time 0.4007/2.691, allocations: 149 MB / 1.283 GB, free: 125.9 MB / 0.592 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)