Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001241/0.001241, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.351/1.351, allocations: 194.3 MB / 208.4 MB, free: 6.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 128.6 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.507e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07431/0.07435, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.3707, allocations: 104.6 MB / 454.1 MB, free: 7.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.371, allocations: 85.58 kB / 454.2 MB, free: 7.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1953/0.5664, allocations: 80.56 MB / 0.5222 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5664, allocations: 0 / 0.5222 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002099/0.5666, allocations: 79.94 kB / 0.5223 GB, free: 12.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.007573/0.5742, allocations: 3.203 MB / 0.5254 GB, free: 9.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5743, allocations: 8.031 kB / 0.5254 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.5779, allocations: 0.7334 MB / 0.5261 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007369/0.5853, allocations: 3.308 MB / 0.5293 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.5856, allocations: 246.5 kB / 0.5296 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.5863, allocations: 323.8 kB / 0.5299 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007198/0.5935, allocations: 4.134 MB / 0.5339 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.386e-05/0.5936, allocations: 7.938 kB / 0.5339 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.5939, allocations: 136 kB / 0.5341 GB, free: 384 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.5941, allocations: 142.4 kB / 0.5342 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1905/0.7846, allocations: 3.341 MB / 0.5375 GB, free: 74.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.8061, allocations: 13.9 MB / 0.551 GB, free: 72.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/0.8119, allocations: 6.605 MB / 0.5575 GB, free: 67.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.8139, allocations: 1.362 MB / 0.5588 GB, free: 67.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005648/0.8196, allocations: 3.804 MB / 0.5625 GB, free: 66.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.8196, allocations: 56.53 kB / 0.5626 GB, free: 66.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 3.476e-06/0.8197, allocations: 0 / 0.5626 GB, free: 66.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.006473/0.8261, allocations: 4.342 MB / 0.5668 GB, free: 65.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.8262, allocations: 68.34 kB / 0.5669 GB, free: 65.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.8284, allocations: 1.512 MB / 0.5684 GB, free: 65.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.8286, allocations: 51.52 kB / 0.5684 GB, free: 65.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.8293, allocations: 1.426 MB / 0.5698 GB, free: 64.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.8297, allocations: 0.4991 MB / 0.5703 GB, free: 64.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.8298, allocations: 34.84 kB / 0.5703 GB, free: 64.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8299, allocations: 377.2 kB / 0.5707 GB, free: 64.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009232/0.8309, allocations: 0.666 MB / 0.5713 GB, free: 64.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.832, allocations: 1.141 MB / 0.5725 GB, free: 63.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.8331, allocations: 0.8875 MB / 0.5733 GB, free: 63.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.8331, allocations: 6.031 kB / 0.5733 GB, free: 63.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003305/0.8365, allocations: 2.508 MB / 0.5758 GB, free: 62.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.8365, allocations: 12.44 kB / 0.5758 GB, free: 62.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.8365, allocations: 18.53 kB / 0.5758 GB, free: 62.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/0.8373, allocations: 373.8 kB / 0.5762 GB, free: 62.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8386, allocations: 389 kB / 0.5765 GB, free: 62.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.8438, allocations: 7.859 MB / 0.5842 GB, free: 55.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.8454, allocations: 78.23 kB / 0.5843 GB, free: 55.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.8456, allocations: 78.41 kB / 0.5844 GB, free: 55.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002977/0.8459, allocations: 213.6 kB / 0.5846 GB, free: 55.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.8461, allocations: 191 kB / 0.5847 GB, free: 55.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.8496, allocations: 2.345 MB / 0.587 GB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.8496, allocations: 13.53 kB / 0.587 GB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8496, allocations: 7.906 kB / 0.5871 GB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.8496, allocations: 7.734 kB / 0.5871 GB, free: 54.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/0.857, allocations: 5.192 MB / 0.5921 GB, free: 51.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.8571, allocations: 2.438 kB / 0.5921 GB, free: 51.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.8579, allocations: 197.3 kB / 0.5923 GB, free: 51.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.8591, allocations: 0.5431 MB / 0.5928 GB, free: 51.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8592, allocations: 37.69 kB / 0.5929 GB, free: 51.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008517/0.8678, allocations: 12.22 MB / 0.6048 GB, free: 41.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8678, allocations: 7.094 kB / 0.6048 GB, free: 41.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/0.8727, allocations: 3.382 MB / 0.6081 GB, free: 39.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.874, allocations: 438.1 kB / 0.6086 GB, free: 39.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.8743, allocations: 34.77 kB / 0.6086 GB, free: 39.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.8752, allocations: 76.06 kB / 0.6087 GB, free: 39.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.8755, allocations: 118.9 kB / 0.6088 GB, free: 39.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.8755, allocations: 39.59 kB / 0.6088 GB, free: 39.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.8771, allocations: 1.163 MB / 0.6099 GB, free: 38.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8771, allocations: 0 / 0.6099 GB, free: 38.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002142/0.8793, allocations: 0.623 MB / 0.6106 GB, free: 38.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005308/0.8798, allocations: 396.6 kB / 0.6109 GB, free: 38.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.8827, allocations: 2.361 MB / 0.6132 GB, free: 37.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8827, allocations: 4.25 kB / 0.6132 GB, free: 37.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.8846, allocations: 1.782 MB / 0.615 GB, free: 36.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.8866, allocations: 0.4957 MB / 0.6155 GB, free: 35.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.8937, allocations: 4.799 MB / 0.6202 GB, free: 33.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.8953, allocations: 2.376 MB / 0.6225 GB, free: 32.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001353/0.8967, allocations: 390.4 kB / 0.6228 GB, free: 32.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.897, allocations: 121.2 kB / 0.623 GB, free: 32.62 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.897, allocations: 0 / 0.623 GB, free: 32.62 MB / 394.7 MB Notification: Performance of Templates: time 0.04405/0.9411, allocations: 31.42 MB / 0.6536 GB, free: 17.43 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)