Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001655/0.001655, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.366/1.366, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001219/0.001219, allocations: 51.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09352, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01339/0.107, allocations: 12.64 MB / 338.6 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007539/0.1145, allocations: 4.226 MB / 342.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.1165, allocations: 63.69 kB / 342.9 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.1195, allocations: 0.8551 MB / 343.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.1234, allocations: 1.143 MB / 344.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1255, allocations: 0.7915 MB / 345.7 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.1307, allocations: 4.152 MB / 349.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.1341, allocations: 2.638 MB / 352.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.1365, allocations: 1.452 MB / 353.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.1394, allocations: 1.887 MB / 355.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005946/0.14, allocations: 292 kB / 356.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1414, allocations: 0.4919 MB / 356.6 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007469/0.1421, allocations: 0.8875 MB / 357.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.144, allocations: 1.831 MB / 359.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.1491, allocations: 6.376 MB / 365.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1491, allocations: 0 / 365.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1491, allocations: 0 / 365.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.997e-05/0.1492, allocations: 0 / 365.7 MB, free: 12.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01037/0.1596, allocations: 4.292 MB / 370 MB, free: 8.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1596, allocations: 8.031 kB / 370 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.1638, allocations: 0.8125 MB / 370.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/0.1676, allocations: 2.173 MB / 373 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.1678, allocations: 226.6 kB / 373.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.1683, allocations: 327.8 kB / 373.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007645/0.176, allocations: 4.223 MB / 377.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-05/0.1761, allocations: 0 / 377.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.1764, allocations: 132 kB / 377.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.1766, allocations: 154.3 kB / 378 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.182/0.3586, allocations: 3.59 MB / 381.6 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.3823, allocations: 13.19 MB / 394.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.3882, allocations: 6.902 MB / 401.7 MB, free: 34.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.3904, allocations: 1.37 MB / 403.1 MB, free: 33.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00574/0.3962, allocations: 3.706 MB / 406.8 MB, free: 31.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3962, allocations: 47.5 kB / 406.8 MB, free: 31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.216e-06/0.3962, allocations: 11.58 kB / 406.8 MB, free: 31 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.009446/0.4057, allocations: 5.37 MB / 412.2 MB, free: 27.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.4058, allocations: 64.41 kB / 412.3 MB, free: 26.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.4085, allocations: 1.701 MB / 414 MB, free: 25.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.761e-05/0.4086, allocations: 53.7 kB / 414 MB, free: 25.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006925/0.4093, allocations: 1.394 MB / 415.4 MB, free: 23.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.4096, allocations: 432.3 kB / 415.8 MB, free: 23.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.41, allocations: 287.3 kB / 416.1 MB, free: 23.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.41, allocations: 301.1 kB / 416.4 MB, free: 22.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.4109, allocations: 0.6442 MB / 417 MB, free: 22.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.412, allocations: 1.11 MB / 418.2 MB, free: 20.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.4141, allocations: 1.875 MB / 420 MB, free: 18.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.4141, allocations: 4 kB / 420 MB, free: 18.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00326/0.4174, allocations: 2.319 MB / 422.3 MB, free: 16.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4174, allocations: 12 kB / 422.4 MB, free: 16.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4174, allocations: 16 kB / 422.4 MB, free: 16.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/0.4181, allocations: 268.5 kB / 422.6 MB, free: 16.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.4193, allocations: 355.4 kB / 423 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.4234, allocations: 5.701 MB / 428.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4246, allocations: 79.86 kB / 428.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4247, allocations: 64 kB / 428.8 MB, free: 9.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001525/0.4263, allocations: 1.005 MB / 429.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.4266, allocations: 181.8 kB / 430 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.4298, allocations: 2.115 MB / 432.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4298, allocations: 12 kB / 432.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.4299, allocations: 8 kB / 432.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4299, allocations: 7.984 kB / 432.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.4373, allocations: 4.828 MB / 437 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.4374, allocations: 4 kB / 437 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/0.4381, allocations: 163.8 kB / 437.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.4391, allocations: 446.8 kB / 437.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/0.4392, allocations: 39.98 kB / 437.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.4494, allocations: 10.08 MB / 447.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4494, allocations: 4.031 kB / 447.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005381/0.4548, allocations: 2.994 MB / 450.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.4559, allocations: 402.8 kB / 451.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/0.4564, allocations: 35.98 kB / 451.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4574, allocations: 63.95 kB / 451.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.4576, allocations: 96.8 kB / 451.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.4577, allocations: 35.98 kB / 451.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.4599, allocations: 1.185 MB / 452.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4599, allocations: 0 / 452.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002169/0.4621, allocations: 0.5352 MB / 453 MB, free: 360 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (86): * Single equations (assignments): 81 * Array equations: 0 * 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 {(1,5,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.0003403/0.4624, allocations: 161.2 kB / 453.2 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.466, allocations: 2.068 MB / 455.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4661, allocations: 0 / 455.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/0.4685, allocations: 1.535 MB / 456.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.4707, allocations: 483.1 kB / 457.3 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4826, allocations: 6.815 MB / 464.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.4853, allocations: 2.281 MB / 466.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001652/0.4869, allocations: 395.6 kB / 466.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.4874, allocations: 119.4 kB / 466.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4874, allocations: 0 / 466.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Templates: time 0.05047/0.5379, allocations: 26.43 MB / 493.3 MB, free: 7.875 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)