Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001069/0.001069, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001111/0.001111, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.343/1.343, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001214/0.001214, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2144, allocations: 46.63 MB / 324.9 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01324/0.2277, allocations: 12.62 MB / 337.5 MB, free: 7.422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007869/0.2356, allocations: 4.2 MB / 341.7 MB, free: 3.211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.2375, allocations: 67.69 kB / 341.7 MB, free: 3.145 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.24, allocations: 0.8551 MB / 342.6 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.2437, allocations: 1.143 MB / 343.7 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2455, allocations: 0.7991 MB / 344.5 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.2504, allocations: 4.012 MB / 348.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.2538, allocations: 3.18 MB / 351.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.2558, allocations: 1.713 MB / 353.4 MB, free: 7.332 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.2581, allocations: 2.039 MB / 355.5 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000615/0.2587, allocations: 0.4961 MB / 356 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.2602, allocations: 0.7067 MB / 356.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009909/0.2613, allocations: 1.099 MB / 357.8 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.2633, allocations: 2.066 MB / 359.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.269, allocations: 6.512 MB / 366.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2691, allocations: 0 / 366.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2691, allocations: 0 / 366.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001175/0.2692, allocations: 4 kB / 366.4 MB, free: 10.37 MB / 302.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.00997/0.2792, allocations: 4.3 MB / 370.7 MB, free: 6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2792, allocations: 12.03 kB / 370.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.2833, allocations: 0.8085 MB / 371.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.2871, allocations: 2.169 MB / 373.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.2873, allocations: 234.6 kB / 373.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.2878, allocations: 319.8 kB / 374.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.2948, allocations: 4.215 MB / 378.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.2949, allocations: 0 / 378.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.2952, allocations: 136 kB / 378.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.2954, allocations: 150.3 kB / 378.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005867/0.3012, allocations: 3.593 MB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.3198, allocations: 13.2 MB / 395.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/0.3264, allocations: 6.892 MB / 402.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.3285, allocations: 1.372 MB / 403.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005847/0.3344, allocations: 3.715 MB / 407.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3344, allocations: 51.55 kB / 407.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 2.585e-06/0.3344, allocations: 0 / 407.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.009853/0.3443, allocations: 5.36 MB / 412.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3444, allocations: 68.34 kB / 412.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.3467, allocations: 1.709 MB / 414.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.3468, allocations: 45.7 kB / 414.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.3477, allocations: 1.399 MB / 416.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.3481, allocations: 433.8 kB / 416.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.3485, allocations: 283.3 kB / 416.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3486, allocations: 313 kB / 417.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3496, allocations: 0.6364 MB / 417.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.351, allocations: 1.118 MB / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.3534, allocations: 1.875 MB / 420.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3534, allocations: 4 kB / 420.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003575/0.357, allocations: 2.311 MB / 423 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.357, allocations: 8 kB / 423 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.3571, allocations: 16 kB / 423.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/0.3578, allocations: 275.4 kB / 423.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.3591, allocations: 363.4 kB / 423.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.3644, allocations: 6.202 MB / 429.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3656, allocations: 68.09 kB / 430 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3657, allocations: 72.11 kB / 430 MB, free: 8.039 MB / 366.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.001618/0.3674, allocations: 1.001 MB / 431 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.3676, allocations: 181.8 kB / 431.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.371, allocations: 2.127 MB / 433.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.371, allocations: 12 kB / 433.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.3711, allocations: 4 kB / 433.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3711, allocations: 7.969 kB / 433.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006871/0.378, allocations: 4.815 MB / 438.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.378, allocations: 0 / 438.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.3787, allocations: 171.8 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.3798, allocations: 452.1 kB / 438.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.3799, allocations: 35.98 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009867/0.3898, allocations: 11.03 MB / 449.8 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3898, allocations: 7.969 kB / 449.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.3945, allocations: 2.992 MB / 452.8 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1633/0.5578, allocations: 404.5 kB / 453.2 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.5583, allocations: 35.75 kB / 453.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.5593, allocations: 63.16 kB / 453.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.5596, allocations: 99.66 kB / 453.4 MB, free: 109.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.884e-05/0.5597, allocations: 35.58 kB / 453.5 MB, free: 109.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002005/0.5617, allocations: 1.176 MB / 454.6 MB, free: 109.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5617, allocations: 0.75 kB / 454.6 MB, free: 109.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00188/0.5636, allocations: 0.5384 MB / 455.2 MB, free: 109.5 MB / 382.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.0002801/0.5639, allocations: 160.4 kB / 455.3 MB, free: 109.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.5681, allocations: 2.402 MB / 457.7 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5681, allocations: 1.188 kB / 457.7 MB, free: 109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.5701, allocations: 1.527 MB / 459.3 MB, free: 108 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5721, allocations: 0.5097 MB / 459.8 MB, free: 107.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.5796, allocations: 6.831 MB / 466.6 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.581, allocations: 2.276 MB / 468.9 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.5822, allocations: 386.5 kB / 469.3 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.5825, allocations: 122 kB / 469.4 MB, free: 102.7 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5826, allocations: 0 / 469.4 MB, free: 102.7 MB / 382.1 MB Notification: Performance of Templates: time 0.03956/0.6221, allocations: 27.42 MB / 496.8 MB, free: 77.02 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)