Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008843/0.008843, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00216/0.00216, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.00113/0.00113, allocations: 49.7 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09929, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01552/0.1149, allocations: 13.56 MB / 386.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009144/0.124, allocations: 4.431 MB / 391.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.1259, allocations: 71.69 kB / 391.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.1285, allocations: 1.048 MB / 392.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1319, allocations: 1.34 MB / 393.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.1337, allocations: 0.904 MB / 394.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004042/0.1377, allocations: 4.118 MB / 398.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/0.141, allocations: 3.181 MB / 401.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.1435, allocations: 1.9 MB / 403.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.146, allocations: 2.094 MB / 405.8 MB, free: 460 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.1466, allocations: 0.5079 MB / 406.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.1478, allocations: 0.7067 MB / 407.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.1487, allocations: 1.114 MB / 408.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.1508, allocations: 2.139 MB / 410.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.1566, allocations: 6.699 MB / 417 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1566, allocations: 0 / 417 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1566, allocations: 0 / 417 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.1567, allocations: 4 kB / 417 MB, free: 5.246 MB / 350.1 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.01047/0.1672, allocations: 4.398 MB / 421.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1673, allocations: 12.02 kB / 421.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.1714, allocations: 0.8165 MB / 422.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/0.1755, allocations: 2.279 MB / 424.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.1757, allocations: 250.8 kB / 424.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004944/0.1762, allocations: 324 kB / 425.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007995/0.1842, allocations: 4.27 MB / 429.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/0.1843, allocations: 0 / 429.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.1846, allocations: 132 kB / 429.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.1847, allocations: 154.4 kB / 429.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005923/0.1907, allocations: 3.59 MB / 433.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.2108, allocations: 13.71 MB / 446.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2062/0.417, allocations: 6.555 MB / 453.5 MB, free: 66.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/0.4203, allocations: 1.391 MB / 454.9 MB, free: 66.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005715/0.4261, allocations: 3.623 MB / 458.5 MB, free: 65.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4261, allocations: 54.25 kB / 458.6 MB, free: 65.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.396e-06/0.4261, allocations: 1.594 kB / 458.6 MB, free: 65.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01067/0.4368, allocations: 5.879 MB / 464.4 MB, free: 62.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.4368, allocations: 66.22 kB / 464.5 MB, free: 62.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.4392, allocations: 1.787 MB / 466.3 MB, free: 61.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4393, allocations: 47.2 kB / 466.3 MB, free: 61.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.44, allocations: 1.438 MB / 467.8 MB, free: 60.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.4403, allocations: 478.8 kB / 468.2 MB, free: 60.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.4408, allocations: 316.6 kB / 468.5 MB, free: 59.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.4408, allocations: 302 kB / 468.8 MB, free: 59.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.4418, allocations: 0.6864 MB / 469.5 MB, free: 59.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4429, allocations: 1.193 MB / 470.7 MB, free: 58.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.4451, allocations: 1.998 MB / 472.7 MB, free: 57.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.4452, allocations: 5.594 kB / 472.7 MB, free: 57.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00341/0.4486, allocations: 2.547 MB / 475.3 MB, free: 55.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4486, allocations: 15.84 kB / 475.3 MB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.4486, allocations: 15.81 kB / 475.3 MB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/0.4495, allocations: 361.6 kB / 475.7 MB, free: 55.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4507, allocations: 377.1 kB / 476 MB, free: 55.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.4562, allocations: 8.409 MB / 484.4 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4575, allocations: 79.05 kB / 484.5 MB, free: 48.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.4577, allocations: 71.12 kB / 484.6 MB, free: 48.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 1 * 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): 1 system {(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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001485/0.4592, allocations: 1.012 MB / 485.6 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.4594, allocations: 194.9 kB / 485.8 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.4625, allocations: 2.285 MB / 488.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4625, allocations: 11.69 kB / 488.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4626, allocations: 7.312 kB / 488.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4626, allocations: 7.969 kB / 488.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.4684, allocations: 5.076 MB / 493.2 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4684, allocations: 192 / 493.2 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.4692, allocations: 175.8 kB / 493.3 MB, free: 41.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.4703, allocations: 0.5268 MB / 493.9 MB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/0.4704, allocations: 47.53 kB / 493.9 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008713/0.4791, allocations: 13.22 MB / 0.4952 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4792, allocations: 4.031 kB / 0.4953 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/0.4832, allocations: 3.212 MB / 0.4984 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.4839, allocations: 430.5 kB / 0.4988 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.4842, allocations: 47.38 kB / 0.4988 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.485, allocations: 55.95 kB / 0.4989 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.4853, allocations: 105.2 kB / 0.499 GB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.4853, allocations: 40 kB / 0.499 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.4868, allocations: 1.223 MB / 0.5002 GB, free: 21.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4868, allocations: 0 / 0.5002 GB, free: 21.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002052/0.4888, allocations: 0.5807 MB / 0.5008 GB, free: 21.15 MB / 382.1 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.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,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 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0002889/0.4891, allocations: 176.7 kB / 0.501 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.492, allocations: 2.354 MB / 0.5033 GB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.492, allocations: 0 / 0.5033 GB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.4939, allocations: 1.758 MB / 0.505 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4959, allocations: 0.5385 MB / 0.5055 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.5032, allocations: 5.825 MB / 0.5112 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.5046, allocations: 2.303 MB / 0.5134 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.5057, allocations: 401 kB / 0.5138 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.506, allocations: 123.4 kB / 0.5139 GB, free: 7.508 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.506, allocations: 0 / 0.5139 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Templates: time 0.04743/0.5534, allocations: 30.24 MB / 0.5435 GB, free: 9.23 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)