Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.008798/0.008797, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001801/0.001801, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.00124/0.00124, allocations: 53.92 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09591, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03194/0.1279, allocations: 29.42 MB / 402.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.148, allocations: 8.132 MB / 410.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.1539, allocations: 171.4 kB / 410.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006941/0.1609, allocations: 1.979 MB / 412.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.1721, allocations: 2.749 MB / 415.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00631/0.1785, allocations: 1.766 MB / 417.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01571/0.1942, allocations: 10.23 MB / 427.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01858/0.2128, allocations: 9.449 MB / 437.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008587/0.2214, allocations: 4.786 MB / 441.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009482/0.231, allocations: 5.538 MB / 447.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004155/0.2352, allocations: 1.363 MB / 448.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/0.2408, allocations: 1.726 MB / 450.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004818/0.2457, allocations: 3.015 MB / 453.5 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2494/0.4951, allocations: 5.655 MB / 459.2 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03002/0.5252, allocations: 17.58 MB / 476.8 MB, free: 20.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.5252, allocations: 0 / 476.8 MB, free: 20.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.5253, allocations: 1.312 kB / 476.8 MB, free: 20.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001064/0.5263, allocations: 0 / 476.8 MB, free: 20.47 MB / 382.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.04551/0.5719, allocations: 11.21 MB / 488 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.572, allocations: 12.55 kB / 488 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.5873, allocations: 2.124 MB / 490.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.6059, allocations: 5.907 MB / 496 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008698/0.6068, allocations: 0.6403 MB / 496.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004878/0.6117, allocations: 0.8486 MB / 497.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/0.6463, allocations: 11.43 MB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004887/0.6468, allocations: 3.781 kB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/0.6504, allocations: 363.3 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/0.6508, allocations: 373.5 kB / 0.4977 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.6774, allocations: 9.632 MB / 0.5071 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07874/0.7562, allocations: 35.34 MB / 0.5416 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/0.7742, allocations: 16.94 MB / 0.5582 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006526/0.7807, allocations: 3.493 MB / 0.5616 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01899/0.7997, allocations: 9.671 MB / 0.571 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.7998, allocations: 72.95 kB / 0.5711 GB, free: 4.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=308): time 6.292e-06/0.7998, allocations: 3.562 kB / 0.5711 GB, free: 4.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=360): time 0.03617/0.836, allocations: 15.43 MB / 0.5862 GB, free: 4.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.8361, allocations: 98.2 kB / 0.5863 GB, free: 4.418 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/0.8439, allocations: 4.435 MB / 0.5906 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000715/0.8446, allocations: 93.14 kB / 0.5907 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003002/0.8477, allocations: 3.997 MB / 0.5946 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.8491, allocations: 1.287 MB / 0.5958 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.8504, allocations: 0.7888 MB / 0.5966 GB, free: 9.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8505, allocations: 305.1 kB / 0.5969 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.8539, allocations: 1.891 MB / 0.5987 GB, free: 7.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/0.8592, allocations: 3.356 MB / 0.602 GB, free: 3.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008588/0.8678, allocations: 5.605 MB / 0.6075 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-05/0.8679, allocations: 16 kB / 0.6075 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01345/0.8814, allocations: 6.53 MB / 0.6139 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.8815, allocations: 24 kB / 0.6139 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.8816, allocations: 48 kB / 0.614 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.8844, allocations: 0.7304 MB / 0.6147 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006077/0.8905, allocations: 1.061 MB / 0.6157 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.9061, allocations: 10.99 MB / 0.6264 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00772/0.9139, allocations: 239.8 kB / 0.6267 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/0.9152, allocations: 208 kB / 0.6269 GB, free: 9.477 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007875/0.9231, allocations: 2.538 MB / 0.6293 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/0.9253, allocations: 0.5007 MB / 0.6298 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.9387, allocations: 5.406 MB / 0.6351 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/0.9388, allocations: 39.94 kB / 0.6352 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/0.9388, allocations: 12 kB / 0.6352 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-05/0.9389, allocations: 19.92 kB / 0.6352 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3037/1.243, allocations: 12.8 MB / 0.6477 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.243, allocations: 4.938 kB / 0.6477 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.245, allocations: 0.6084 MB / 0.6483 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/1.247, allocations: 0.9024 MB / 0.6492 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.248, allocations: 83.62 kB / 0.6492 GB, free: 183.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.26, allocations: 15.28 MB / 0.6642 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.26, allocations: 9.188 kB / 0.6642 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.272, allocations: 7.981 MB / 0.672 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.276, allocations: 0.9869 MB / 0.6729 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/1.277, allocations: 80.52 kB / 0.673 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.279, allocations: 184.4 kB / 0.6732 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006216/1.28, allocations: 277 kB / 0.6734 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/1.28, allocations: 103.9 kB / 0.6735 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004671/1.285, allocations: 3.013 MB / 0.6765 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/1.285, allocations: 0 / 0.6765 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005651/1.29, allocations: 1.464 MB / 0.6779 GB, free: 165.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006491/1.291, allocations: 246.4 kB / 0.6782 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008995/1.3, allocations: 5.603 MB / 0.6836 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.3, allocations: 4 kB / 0.6836 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/1.305, allocations: 3.396 MB / 0.6869 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007125/1.312, allocations: 1.164 MB / 0.6881 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/1.339, allocations: 15.03 MB / 0.7028 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004348/1.344, allocations: 5.072 MB / 0.7077 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003809/1.347, allocations: 1.065 MB / 0.7087 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/1.348, allocations: 327.4 kB / 0.7091 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/1.348, allocations: 0 / 0.7091 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1073/1.456, allocations: 64.47 MB / 0.772 GB, free: 71.29 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)