Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_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.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.002099/0.0021, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.593/1.593, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.0004138/0.0004139, allocations: 20 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08619, allocations: 47.57 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.0266/0.1128, allocations: 23.49 MB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.1287, allocations: 7.947 MB / 359.1 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.1329, allocations: 159.3 kB / 359.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.1373, allocations: 1.41 MB / 360.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00743/0.1448, allocations: 2.403 MB / 363.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.1486, allocations: 1.162 MB / 364.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.1609, allocations: 6.973 MB / 371.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009508/0.1704, allocations: 6.131 MB / 377.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.17/0.3405, allocations: 3.186 MB / 380.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007378/0.3479, allocations: 3.888 MB / 384.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.3502, allocations: 0.5358 MB / 385 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.3537, allocations: 0.8279 MB / 385.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.3561, allocations: 1.945 MB / 387.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003731/0.3599, allocations: 1.894 MB / 389.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.3789, allocations: 14.28 MB / 403.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.379, allocations: 0 / 403.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.379, allocations: 0 / 403.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007087/0.3797, allocations: 0 / 403.9 MB, free: 9.242 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02787/0.4076, allocations: 9.293 MB / 413.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4077, allocations: 8.875 kB / 413.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.4204, allocations: 2.081 MB / 415.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.4334, allocations: 5.415 MB / 420.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009052/0.4345, allocations: 0.6495 MB / 421.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003541/0.438, allocations: 0.8448 MB / 422.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/0.4699, allocations: 11.34 MB / 433.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000326/0.4703, allocations: 9.219 kB / 433.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/0.4723, allocations: 353.4 kB / 433.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004652/0.4728, allocations: 377.4 kB / 434.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.4961, allocations: 9.653 MB / 443.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07025/0.5664, allocations: 36 MB / 479.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.5827, allocations: 16.96 MB / 496.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/0.6021, allocations: 9.392 MB / 0.4944 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.6022, allocations: 69.14 kB / 0.4945 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=330): time 6.752e-06/0.6022, allocations: 0 / 0.4945 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=384): time 0.03679/0.639, allocations: 16.88 MB / 0.511 GB, free: 15.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.6391, allocations: 90.41 kB / 0.5111 GB, free: 15.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/0.6466, allocations: 4.412 MB / 0.5154 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007885/0.6474, allocations: 89.7 kB / 0.5154 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/0.6504, allocations: 3.831 MB / 0.5192 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.652, allocations: 1.298 MB / 0.5205 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.6523, allocations: 92 kB / 0.5205 GB, free: 5.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.6526, allocations: 496.2 kB / 0.521 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/0.6561, allocations: 2.012 MB / 0.523 GB, free: 3.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/0.6604, allocations: 3.417 MB / 0.5263 GB, free: 15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.6645, allocations: 2.598 MB / 0.5289 GB, free: 12.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/0.6646, allocations: 12 kB / 0.5289 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.01172/0.6763, allocations: 6.765 MB / 0.5355 GB, free: 5.879 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.6764, allocations: 24 kB / 0.5355 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/0.6764, allocations: 44 kB / 0.5355 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/0.6784, allocations: 0.7688 MB / 0.5363 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/0.6826, allocations: 1.115 MB / 0.5374 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1805/0.8631, allocations: 10.57 MB / 0.5477 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/0.8681, allocations: 264.1 kB / 0.548 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008508/0.8689, allocations: 209.9 kB / 0.5482 GB, free: 144.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (545): * Single equations (assignments): 537 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005441/0.8744, allocations: 2.538 MB / 0.5506 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/0.8757, allocations: 492.1 kB / 0.5511 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009728/0.8854, allocations: 5.781 MB / 0.5567 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/0.8855, allocations: 44.25 kB / 0.5568 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/0.8856, allocations: 12.25 kB / 0.5568 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-05/0.8856, allocations: 18 kB / 0.5568 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/0.909, allocations: 13.93 MB / 0.5704 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.9091, allocations: 7.094 kB / 0.5704 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/0.9117, allocations: 0.6684 MB / 0.5711 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.9138, allocations: 0.9109 MB / 0.572 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.9141, allocations: 90.64 kB / 0.5721 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.9265, allocations: 14.35 MB / 0.5861 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9265, allocations: 11.5 kB / 0.5861 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.939, allocations: 9.223 MB / 0.5951 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003335/0.9424, allocations: 1.006 MB / 0.5961 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/0.9437, allocations: 83.88 kB / 0.5962 GB, free: 116 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/0.9467, allocations: 218.6 kB / 0.5964 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005731/0.9473, allocations: 293.5 kB / 0.5966 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/0.9475, allocations: 109 kB / 0.5967 GB, free: 115.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004725/0.9523, allocations: 2.985 MB / 0.5997 GB, free: 112.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9523, allocations: 0 / 0.5997 GB, free: 112.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006434/0.9587, allocations: 1.483 MB / 0.6011 GB, free: 111.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 299 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(2,100.0%) 13,(4,93.8%) 33,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007365/0.9595, allocations: 249.3 kB / 0.6014 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008345/0.9678, allocations: 5.878 MB / 0.6071 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.9679, allocations: 0 / 0.6071 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005298/0.9732, allocations: 3.582 MB / 0.6106 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005396/0.9786, allocations: 1.062 MB / 0.6116 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/1.006, allocations: 18.03 MB / 0.6292 GB, free: 82.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005091/1.011, allocations: 5.24 MB / 0.6343 GB, free: 76.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003934/1.015, allocations: 1.072 MB / 0.6354 GB, free: 75.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.016, allocations: 327.4 kB / 0.6357 GB, free: 75.59 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/1.016, allocations: 1.641 kB / 0.6357 GB, free: 75.59 MB / 446.1 MB Notification: Performance of Templates: time 0.09252/1.108, allocations: 64.93 MB / 0.6991 GB, free: 10.57 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) Environment - environmentSimulation: