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.001005/0.001005, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.124/1.124, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001542/0.001541, allocations: 118.2 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07553/0.07583, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.3131, allocations: 104.7 MB / 459.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3134, allocations: 97.75 kB / 459.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3063/0.6197, allocations: 80.53 MB / 0.5277 GB, free: 81.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.6197, allocations: 0 / 0.5277 GB, free: 81.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002445/0.62, allocations: 77.28 kB / 0.5278 GB, free: 81.68 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.009404/0.6294, allocations: 3.513 MB / 0.5312 GB, free: 80.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6294, allocations: 9.906 kB / 0.5312 GB, free: 80.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.6333, allocations: 0.7404 MB / 0.532 GB, free: 80.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007645/0.641, allocations: 3.334 MB / 0.5352 GB, free: 79.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.6413, allocations: 244.8 kB / 0.5355 GB, free: 79.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008917/0.6422, allocations: 325 kB / 0.5358 GB, free: 79.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/0.6486, allocations: 4.206 MB / 0.5399 GB, free: 79.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.246e-05/0.6486, allocations: 5.375 kB / 0.5399 GB, free: 79.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.6489, allocations: 134.1 kB / 0.54 GB, free: 79.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.649, allocations: 141.5 kB / 0.5401 GB, free: 79.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/0.6536, allocations: 3.43 MB / 0.5435 GB, free: 79.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/0.6691, allocations: 13.92 MB / 0.5571 GB, free: 74.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.6736, allocations: 6.678 MB / 0.5636 GB, free: 68.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00458/0.6782, allocations: 3.391 MB / 0.5669 GB, free: 66.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6783, allocations: 53.97 kB / 0.567 GB, free: 66.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 3.126e-06/0.6783, allocations: 0 / 0.567 GB, free: 66.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.01014/0.6884, allocations: 6.468 MB / 0.5733 GB, free: 63.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.6885, allocations: 69.62 kB / 0.5733 GB, free: 63.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.6905, allocations: 1.531 MB / 0.5748 GB, free: 62.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.6906, allocations: 49.67 kB / 0.5749 GB, free: 62.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/0.6913, allocations: 1.409 MB / 0.5763 GB, free: 61.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.6917, allocations: 0.5282 MB / 0.5768 GB, free: 60.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.6918, allocations: 35.38 kB / 0.5768 GB, free: 60.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.6919, allocations: 374.2 kB / 0.5772 GB, free: 60.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009263/0.6928, allocations: 0.7227 MB / 0.5779 GB, free: 60.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.6939, allocations: 1.186 MB / 0.579 GB, free: 59.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.695, allocations: 0.9429 MB / 0.58 GB, free: 58.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.695, allocations: 11.72 kB / 0.58 GB, free: 58.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003492/0.6985, allocations: 2.7 MB / 0.5826 GB, free: 57.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6985, allocations: 12.06 kB / 0.5826 GB, free: 57.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.6986, allocations: 14.84 kB / 0.5826 GB, free: 57.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009634/0.6995, allocations: 453.7 kB / 0.5831 GB, free: 57.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7008, allocations: 373.5 kB / 0.5834 GB, free: 57.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.7072, allocations: 9.808 MB / 0.593 GB, free: 49.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.7086, allocations: 79.22 kB / 0.5931 GB, free: 49.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7088, allocations: 77.17 kB / 0.5931 GB, free: 49.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 183 * 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: 5 * 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: 5 {(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001525/0.7103, allocations: 1.002 MB / 0.5941 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.7106, allocations: 194.5 kB / 0.5943 GB, free: 48.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.714, allocations: 2.54 MB / 0.5968 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.714, allocations: 15.75 kB / 0.5968 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.714, allocations: 9.875 kB / 0.5968 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.714, allocations: 7.406 kB / 0.5968 GB, free: 47.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.7209, allocations: 5.462 MB / 0.6022 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.721, allocations: 3.188 kB / 0.6022 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.7217, allocations: 183.2 kB / 0.6023 GB, free: 44.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.7231, allocations: 0.6329 MB / 0.603 GB, free: 44.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.7232, allocations: 41.25 kB / 0.603 GB, free: 44.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009808/0.733, allocations: 14.28 MB / 0.6169 GB, free: 32.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.733, allocations: 0 / 0.6169 GB, free: 32.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.7377, allocations: 3.655 MB / 0.6205 GB, free: 29.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009203/0.7387, allocations: 448.7 kB / 0.6209 GB, free: 29.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.7389, allocations: 32 kB / 0.621 GB, free: 29.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.7397, allocations: 78.72 kB / 0.621 GB, free: 29.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.74, allocations: 128.6 kB / 0.6212 GB, free: 29.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.7401, allocations: 43.7 kB / 0.6212 GB, free: 28.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.7414, allocations: 1.176 MB / 0.6224 GB, free: 28 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7414, allocations: 0 / 0.6224 GB, free: 28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001907/0.7434, allocations: 0.6479 MB / 0.623 GB, free: 27.35 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(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.0004161/0.7438, allocations: 356 kB / 0.6233 GB, free: 27.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.7467, allocations: 2.657 MB / 0.6259 GB, free: 24.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7467, allocations: 0 / 0.6259 GB, free: 24.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.7488, allocations: 2.006 MB / 0.6279 GB, free: 22.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.7505, allocations: 0.5075 MB / 0.6284 GB, free: 22.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.7584, allocations: 7.236 MB / 0.6354 GB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.7599, allocations: 2.376 MB / 0.6378 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001305/0.7613, allocations: 391.3 kB / 0.6381 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.7615, allocations: 126.3 kB / 0.6383 GB, free: 13.38 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7616, allocations: 0 / 0.6383 GB, free: 13.38 MB / 394.7 MB Notification: Performance of Templates: time 0.04654/0.8081, allocations: 31.81 MB / 0.6693 GB, free: 0.9844 MB / 410.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)