Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001033/0.001033, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001029/0.001029, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.1 MB, free: 5.344 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.0005033/0.0005033, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3314, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01401/0.3455, allocations: 11.22 MB / 337.7 MB, free: 8.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3581, allocations: 3.964 MB / 341.7 MB, free: 4.254 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003638/0.3619, allocations: 59.75 kB / 341.7 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.3655, allocations: 0.7225 MB / 342.4 MB, free: 3.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.3711, allocations: 1.045 MB / 343.5 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.3739, allocations: 0.5846 MB / 344.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007631/0.3816, allocations: 3.887 MB / 348 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.3869, allocations: 2.181 MB / 350.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/0.3904, allocations: 1.237 MB / 351.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.3946, allocations: 1.591 MB / 353 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.3962, allocations: 204 kB / 353.2 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.3991, allocations: 395.8 kB / 353.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.4011, allocations: 0.7357 MB / 354.3 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.4036, allocations: 0.7226 MB / 355 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00896/0.4125, allocations: 5.391 MB / 360.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.4126, allocations: 0 / 360.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4126, allocations: 0 / 360.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002484/0.4129, allocations: 4 kB / 360.4 MB, free: 1.402 MB / 286.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.01275/0.4256, allocations: 3.676 MB / 364.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.4257, allocations: 8.031 kB / 364.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.4312, allocations: 0.8038 MB / 364.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/0.438, allocations: 2.126 MB / 367 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.4384, allocations: 238.2 kB / 367.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.4398, allocations: 307.9 kB / 367.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.4542, allocations: 4.207 MB / 371.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.4545, allocations: 7.953 kB / 371.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.4558, allocations: 124 kB / 371.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/0.4561, allocations: 158.3 kB / 372 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.4667, allocations: 3.589 MB / 375.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.4939, allocations: 13.25 MB / 388.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/0.5012, allocations: 6.893 MB / 395.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.5037, allocations: 1.382 MB / 397.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007564/0.5113, allocations: 3.731 MB / 400.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.5114, allocations: 43.56 kB / 400.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=119): time 3.637e-06/0.5114, allocations: 0 / 400.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01198/0.5234, allocations: 5.474 MB / 406.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.5235, allocations: 64.41 kB / 406.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.5273, allocations: 1.694 MB / 408.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.5275, allocations: 45.7 kB / 408.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.5289, allocations: 1.403 MB / 409.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.5294, allocations: 429.8 kB / 410 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5295, allocations: 35.94 kB / 410.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5297, allocations: 369.9 kB / 410.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.531, allocations: 0.6403 MB / 411.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.5326, allocations: 1.122 MB / 412.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5343, allocations: 0.8496 MB / 413 MB, free: 10.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.5343, allocations: 4 kB / 413 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004721/0.5391, allocations: 2.331 MB / 415.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.5391, allocations: 12 kB / 415.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/0.5392, allocations: 16 kB / 415.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008438/0.54, allocations: 263.3 kB / 415.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5414, allocations: 363.5 kB / 416 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.5472, allocations: 5.69 MB / 421.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.549, allocations: 75.88 kB / 421.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.5492, allocations: 71.98 kB / 421.8 MB, free: 1.52 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002892/0.5521, allocations: 1.001 MB / 422.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.5527, allocations: 181.7 kB / 423 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/0.5569, allocations: 2.127 MB / 425.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.5569, allocations: 12 kB / 425.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.5569, allocations: 11.98 kB / 425.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5569, allocations: 3.984 kB / 425.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009193/0.5661, allocations: 4.835 MB / 430 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.5662, allocations: 8.125 kB / 430 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.567, allocations: 171.8 kB / 430.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.5682, allocations: 452.2 kB / 430.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.5684, allocations: 39.98 kB / 430.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.5791, allocations: 10.07 MB / 440.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5791, allocations: 0 / 440.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.5846, allocations: 3.011 MB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.5857, allocations: 410.7 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/0.5862, allocations: 28 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.5874, allocations: 71.94 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.5877, allocations: 104.8 kB / 444.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5878, allocations: 35.98 kB / 444.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002367/0.5902, allocations: 1.158 MB / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5902, allocations: 0 / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002557/0.5928, allocations: 0.5352 MB / 446.1 MB, free: 8.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.5932, allocations: 171 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.5969, allocations: 2.079 MB / 448.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5969, allocations: 1.875 kB / 448.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.5994, allocations: 1.528 MB / 449.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.6023, allocations: 493.8 kB / 450.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2195/0.8218, allocations: 6.643 MB / 457 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/0.825, allocations: 2.28 MB / 459.3 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002762/0.8278, allocations: 388 kB / 459.6 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.8284, allocations: 118.4 kB / 459.8 MB, free: 108.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8284, allocations: 0 / 459.8 MB, free: 108.5 MB / 382.1 MB Notification: Performance of Templates: time 0.07972/0.9081, allocations: 25.52 MB / 485.3 MB, free: 88.95 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)