Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007757/0.0007754, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005061/0.005061, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 10.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase): time 0.02922/0.2769, allocations: 26.39 MB / 353.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.2977, allocations: 7.583 MB / 361 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007281/0.3051, allocations: 159.2 kB / 361.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006959/0.3121, allocations: 1.624 MB / 362.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.3231, allocations: 2.397 MB / 365.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00643/0.3296, allocations: 1.549 MB / 366.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.3487, allocations: 13.39 MB / 380.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.3651, allocations: 9.097 MB / 389.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008391/0.3735, allocations: 4.065 MB / 393.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00933/0.3829, allocations: 5.406 MB / 398.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003033/0.3859, allocations: 0.668 MB / 399.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.3903, allocations: 0.8746 MB / 400.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00428/0.3946, allocations: 2.6 MB / 402.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.4059, allocations: 5.626 MB / 408.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02529/0.4313, allocations: 20.2 MB / 428.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4313, allocations: 0 / 428.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4313, allocations: 3.938 kB / 428.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008127/0.4321, allocations: 0 / 428.7 MB, free: 13.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03103/0.4632, allocations: 11.08 MB / 439.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4632, allocations: 12.03 kB / 439.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.4764, allocations: 2.326 MB / 442.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.4929, allocations: 7.397 MB / 449.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007712/0.4937, allocations: 0.739 MB / 450.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003755/0.4975, allocations: 0.992 MB / 451.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2532/0.7507, allocations: 14.44 MB / 465.7 MB, free: 93.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003687/0.7511, allocations: 11.03 kB / 465.7 MB, free: 93.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/0.7546, allocations: 415.3 kB / 466.1 MB, free: 93.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004028/0.7551, allocations: 454 kB / 466.5 MB, free: 93.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/0.7858, allocations: 12.58 MB / 479.1 MB, free: 86.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07774/0.8636, allocations: 44.38 MB / 0.5112 GB, free: 44.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/0.8835, allocations: 25.08 MB / 0.5357 GB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008096/0.8917, allocations: 4.999 MB / 0.5406 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0208/0.9125, allocations: 12.22 MB / 0.5525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.664e-05/0.9126, allocations: 89.77 kB / 0.5526 GB, free: 15.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=425): time 6.722e-06/0.9126, allocations: 0 / 0.5526 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=431): time 0.05349/0.9661, allocations: 22.19 MB / 0.5743 GB, free: 9.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.9662, allocations: 98.8 kB / 0.5744 GB, free: 9.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008699/0.975, allocations: 5.401 MB / 0.5796 GB, free: 3.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/0.9761, allocations: 97.7 kB / 0.5797 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003351/0.9794, allocations: 4.461 MB / 0.5841 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001883/0.9813, allocations: 1.434 MB / 0.5855 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/0.982, allocations: 412.5 kB / 0.5859 GB, free: 13.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.9821, allocations: 301.1 kB / 0.5862 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00412/0.9862, allocations: 2.461 MB / 0.5886 GB, free: 10.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/0.9912, allocations: 3.711 MB / 0.5922 GB, free: 6.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.003, allocations: 6.394 MB / 0.5984 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.45e-05/1.003, allocations: 8 kB / 0.5985 GB, free: 15.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.02239/1.025, allocations: 8.289 MB / 0.6065 GB, free: 6.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.025, allocations: 22.5 kB / 0.6066 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.026, allocations: 36 kB / 0.6066 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005821/1.032, allocations: 1.531 MB / 0.6081 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006567/1.038, allocations: 1.03 MB / 0.6091 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2264/1.265, allocations: 26.91 MB / 0.6354 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/1.269, allocations: 236.6 kB / 0.6356 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006162/1.27, allocations: 201.5 kB / 0.6358 GB, free: 127.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 16 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1],rheostat3.booleanStep[3].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[1].y,rheostatM.booleanStep[5].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 14 systems {(1,1,100.0%), (1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (4,22,68.8%), (2,6,100.0%), (2,6,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.005553/1.275, allocations: 3.305 MB / 0.639 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.276, allocations: 0.5777 MB / 0.6396 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.288, allocations: 8.019 MB / 0.6474 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.288, allocations: 39.12 kB / 0.6475 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-05/1.288, allocations: 27.41 kB / 0.6475 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/1.288, allocations: 23.86 kB / 0.6475 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.314, allocations: 16.78 MB / 0.6639 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.314, allocations: 7.406 kB / 0.6639 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.316, allocations: 477.4 kB / 0.6644 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004721/1.321, allocations: 2.334 MB / 0.6666 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/1.321, allocations: 104 kB / 0.6667 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/1.349, allocations: 34.94 MB / 0.7009 GB, free: 76.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.349, allocations: 7.938 kB / 0.7009 GB, free: 76.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.364, allocations: 11.43 MB / 0.712 GB, free: 64.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/1.367, allocations: 1.197 MB / 0.7132 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007532/1.368, allocations: 88 kB / 0.7133 GB, free: 63.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.37, allocations: 255.8 kB / 0.7135 GB, free: 63.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000961/1.371, allocations: 427 kB / 0.7139 GB, free: 63.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.371, allocations: 120 kB / 0.714 GB, free: 63.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004865/1.376, allocations: 3.686 MB / 0.7176 GB, free: 59.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.376, allocations: 0 / 0.7176 GB, free: 59.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006636/1.383, allocations: 1.878 MB / 0.7195 GB, free: 57.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (aimsM.inertiaRotor.w,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.inertiaRotor.w,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,5,100.0%), (6,46,72.2%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (11,56,49.6%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007424/1.384, allocations: 242.9 kB / 0.7197 GB, free: 57.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01017/1.394, allocations: 8.064 MB / 0.7276 GB, free: 49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.394, allocations: 0 / 0.7276 GB, free: 49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007356/1.401, allocations: 5.761 MB / 0.7332 GB, free: 43.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/1.412, allocations: 1.619 MB / 0.7348 GB, free: 41.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.444, allocations: 23.18 MB / 0.7574 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007483/1.452, allocations: 6.368 MB / 0.7637 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005091/1.457, allocations: 1.299 MB / 0.7649 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.458, allocations: 339.4 kB / 0.7652 GB, free: 10.15 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/1.458, allocations: 4 kB / 0.7652 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Templates: time 0.3987/1.857, allocations: 94.14 MB / 0.8572 GB, free: 68.73 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)