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.0008399/0.0008398, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.0009572/0.0009573, allocations: 177.5 kB / 17.56 MB, free: 5.848 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.351/1.351, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004387/0.0004386, allocations: 10.81 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01248/0.1133, allocations: 11.99 MB / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.1212, allocations: 4.183 MB / 344.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.1231, allocations: 59.75 kB / 344.6 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.1258, allocations: 0.8512 MB / 345.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003912/0.1298, allocations: 1.131 MB / 346.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.1319, allocations: 0.7836 MB / 347.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00516/0.1371, allocations: 4.156 MB / 351.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.1409, allocations: 2.619 MB / 354.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.1429, allocations: 1.26 MB / 355.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.1458, allocations: 1.665 MB / 357 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007105/0.1466, allocations: 204 kB / 357.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.148, allocations: 411.8 kB / 357.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.1488, allocations: 0.751 MB / 358.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.1509, allocations: 1.716 MB / 360.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.1577, allocations: 6.155 MB / 366.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1578, allocations: 4 kB / 366.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1578, allocations: 0 / 366.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.1579, allocations: 0 / 366.3 MB, free: 13.61 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.009937/0.1679, allocations: 3.645 MB / 369.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1679, allocations: 8.031 kB / 369.9 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.1725, allocations: 0.8047 MB / 370.7 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.1766, allocations: 2.177 MB / 372.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.1768, allocations: 238.6 kB / 373.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005168/0.1773, allocations: 311.8 kB / 373.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007227/0.1846, allocations: 4.234 MB / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-05/0.1847, allocations: 7.906 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.185, allocations: 120 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.1851, allocations: 154.3 kB / 377.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.193/0.3781, allocations: 3.611 MB / 381.5 MB, free: 32.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/0.4067, allocations: 13.26 MB / 394.8 MB, free: 28.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.413, allocations: 6.913 MB / 401.7 MB, free: 22.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.4154, allocations: 1.374 MB / 403.1 MB, free: 21.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006049/0.4215, allocations: 3.729 MB / 406.8 MB, free: 18.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4216, allocations: 53.69 kB / 406.9 MB, free: 18.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 3.496e-06/0.4216, allocations: 0 / 406.9 MB, free: 18.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01012/0.4317, allocations: 5.435 MB / 412.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.4318, allocations: 63.62 kB / 412.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.4344, allocations: 1.703 MB / 414.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.4345, allocations: 54.7 kB / 414.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.4353, allocations: 1.396 MB / 415.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.4356, allocations: 434.7 kB / 415.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.4358, allocations: 128.7 kB / 416.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.4358, allocations: 303.1 kB / 416.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.4368, allocations: 0.6522 MB / 417 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.438, allocations: 1.125 MB / 418.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.4403, allocations: 1.885 MB / 420 MB, free: 8.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.4403, allocations: 4 kB / 420 MB, free: 8.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003738/0.4441, allocations: 2.34 MB / 422.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4441, allocations: 12 kB / 422.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.4442, allocations: 16 kB / 422.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.4448, allocations: 271.2 kB / 422.7 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.446, allocations: 357.4 kB / 423 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.4505, allocations: 5.695 MB / 428.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.4519, allocations: 88.02 kB / 428.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.4521, allocations: 64 kB / 428.9 MB, free: 15.15 MB / 334.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.002073/0.4542, allocations: 1 MB / 429.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.4546, allocations: 173.8 kB / 430 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.459, allocations: 2.142 MB / 432.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4591, allocations: 12 kB / 432.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.4591, allocations: 11.84 kB / 432.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.4591, allocations: 7.969 kB / 432.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008849/0.468, allocations: 4.839 MB / 437 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.468, allocations: 3.984 kB / 437 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.4688, allocations: 171.2 kB / 437.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.47, allocations: 456.5 kB / 437.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.834e-05/0.4702, allocations: 35.98 kB / 437.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.4805, allocations: 10.08 MB / 447.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4805, allocations: 7.594 kB / 447.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/0.4859, allocations: 3.026 MB / 450.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000952/0.4869, allocations: 406.8 kB / 451.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/0.4873, allocations: 31.98 kB / 451.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.4883, allocations: 71.95 kB / 451.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/0.4886, allocations: 98.77 kB / 451.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.4887, allocations: 35.98 kB / 451.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.4905, allocations: 1.182 MB / 452.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4905, allocations: 0 / 452.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001962/0.4925, allocations: 0.5428 MB / 453.2 MB, free: 6.07 MB / 350.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.0003126/0.4928, allocations: 160.7 kB / 453.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.4962, allocations: 2.083 MB / 455.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4962, allocations: 8.188 kB / 455.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.4986, allocations: 1.53 MB / 456.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.5013, allocations: 481.9 kB / 457.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/0.5113, allocations: 6.978 MB / 464.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.5133, allocations: 2.277 MB / 466.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001437/0.5148, allocations: 391.8 kB / 467 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.5151, allocations: 119.4 kB / 467.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5151, allocations: 0 / 467.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of Templates: time 0.04602/0.5611, allocations: 26.11 MB / 493.3 MB, free: 13.87 MB / 398.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)