Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005791/0.005791, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001308/0.001308, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001146/0.001146, allocations: 54.61 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09105, allocations: 46.61 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01411/0.1052, allocations: 13.58 MB / 386.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.1142, allocations: 4.439 MB / 391.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.1163, allocations: 71.75 kB / 391.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.1189, allocations: 1.033 MB / 392.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.1228, allocations: 1.351 MB / 393.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.1247, allocations: 0.9052 MB / 394.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004431/0.1292, allocations: 4.106 MB / 398.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.1325, allocations: 3.181 MB / 401.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.1351, allocations: 1.908 MB / 403.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.1376, allocations: 2.086 MB / 405.8 MB, free: 468 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.1382, allocations: 0.5118 MB / 406.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1394, allocations: 0.7106 MB / 407.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008449/0.1403, allocations: 1.114 MB / 408.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.1423, allocations: 2.128 MB / 410.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.148, allocations: 6.703 MB / 417 MB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.148, allocations: 0 / 417 MB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.148, allocations: 0 / 417 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.08e-05/0.1481, allocations: 0 / 417 MB, free: 5.258 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.009592/0.1577, allocations: 4.406 MB / 421.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1577, allocations: 11.97 kB / 421.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.1617, allocations: 0.8125 MB / 422.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.1654, allocations: 2.287 MB / 424.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.1655, allocations: 246.8 kB / 424.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.166, allocations: 328 kB / 425.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/0.1724, allocations: 4.263 MB / 429.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.89e-05/0.1725, allocations: 4 kB / 429.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/0.1728, allocations: 124 kB / 429.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.1729, allocations: 154.4 kB / 429.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.1785, allocations: 3.594 MB / 433.2 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.1993, allocations: 13.7 MB / 446.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2009/0.4002, allocations: 6.563 MB / 453.5 MB, free: 66.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.4031, allocations: 1.393 MB / 454.9 MB, free: 66.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00567/0.4088, allocations: 3.62 MB / 458.5 MB, free: 65.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4089, allocations: 46.48 kB / 458.5 MB, free: 65.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.096e-06/0.4089, allocations: 0.6562 kB / 458.5 MB, free: 65.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01076/0.4196, allocations: 5.877 MB / 464.4 MB, free: 62.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4197, allocations: 69.91 kB / 464.5 MB, free: 62.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.4221, allocations: 1.79 MB / 466.3 MB, free: 61.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.4222, allocations: 50.98 kB / 466.3 MB, free: 61.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.4229, allocations: 1.437 MB / 467.8 MB, free: 60.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.4232, allocations: 478.7 kB / 468.2 MB, free: 60.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.4236, allocations: 316.4 kB / 468.5 MB, free: 59.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.4237, allocations: 305.1 kB / 468.8 MB, free: 59.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000977/0.4247, allocations: 0.6776 MB / 469.5 MB, free: 59.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.4259, allocations: 1.194 MB / 470.7 MB, free: 58.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002894/0.4288, allocations: 2.006 MB / 472.7 MB, free: 57.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.4288, allocations: 5.281 kB / 472.7 MB, free: 57.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003792/0.4327, allocations: 2.543 MB / 475.3 MB, free: 55.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.4327, allocations: 11.91 kB / 475.3 MB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/0.4327, allocations: 18.69 kB / 475.3 MB, free: 55.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008452/0.4336, allocations: 364 kB / 475.7 MB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4348, allocations: 380.9 kB / 476 MB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.4406, allocations: 8.409 MB / 484.4 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4419, allocations: 78.83 kB / 484.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.4421, allocations: 75.12 kB / 484.6 MB, free: 48.38 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.001563/0.4436, allocations: 1.001 MB / 485.6 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.4439, allocations: 195.9 kB / 485.8 MB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.4472, allocations: 2.286 MB / 488.1 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4473, allocations: 11.72 kB / 488.1 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4473, allocations: 11.59 kB / 488.1 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4473, allocations: 13.05 kB / 488.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/0.4535, allocations: 5.071 MB / 493.2 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4535, allocations: 4 kB / 493.2 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/0.4542, allocations: 167.8 kB / 493.3 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.4554, allocations: 0.5401 MB / 493.9 MB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.4555, allocations: 43.92 kB / 493.9 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008717/0.4642, allocations: 13.22 MB / 0.4953 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4643, allocations: 0 / 0.4953 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/0.4684, allocations: 3.227 MB / 0.4984 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/0.4691, allocations: 422.5 kB / 0.4988 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.4693, allocations: 35.98 kB / 0.4988 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.4702, allocations: 67.95 kB / 0.4989 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.4704, allocations: 101.2 kB / 0.499 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.4705, allocations: 39.98 kB / 0.499 GB, free: 22.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.4719, allocations: 1.223 MB / 0.5002 GB, free: 21.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4719, allocations: 0 / 0.5002 GB, free: 21.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002012/0.4739, allocations: 0.5781 MB / 0.5008 GB, free: 21.16 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.0002697/0.4742, allocations: 165.6 kB / 0.501 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.477, allocations: 2.363 MB / 0.5033 GB, free: 18.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.477, allocations: 4.25 kB / 0.5033 GB, free: 18.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.4789, allocations: 1.745 MB / 0.505 GB, free: 16.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4808, allocations: 0.5454 MB / 0.5055 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.4886, allocations: 5.829 MB / 0.5112 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.49, allocations: 2.303 MB / 0.5134 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.4911, allocations: 401 kB / 0.5138 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.4914, allocations: 123.4 kB / 0.5139 GB, free: 7.516 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4914, allocations: 0 / 0.5139 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Templates: time 0.04804/0.5394, allocations: 30.24 MB / 0.5435 GB, free: 9.246 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)