Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 110.6 kB / 18.4 MB, free: 4.68 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.001765/0.001765, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001164/0.001164, allocations: 43.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07591, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.1581/0.234, allocations: 12.83 MB / 388.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.2405, allocations: 4.284 MB / 392.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2416, allocations: 69 kB / 393 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.2436, allocations: 0.9646 MB / 394 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.2463, allocations: 1.292 MB / 395.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.2478, allocations: 0.8638 MB / 396.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003821/0.2516, allocations: 4.033 MB / 400.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/0.2551, allocations: 3.187 MB / 403.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.2577, allocations: 1.894 MB / 405.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.2604, allocations: 2.116 MB / 407.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006337/0.2611, allocations: 0.5175 MB / 407.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2624, allocations: 0.7115 MB / 408.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000939/0.2634, allocations: 1.137 MB / 409.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.2654, allocations: 2.127 MB / 411.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.2713, allocations: 6.74 MB / 418.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2713, allocations: 0 / 418.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2713, allocations: 0 / 418.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.863e-05/0.2714, allocations: 0 / 418.6 MB, free: 4.723 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.009754/0.2811, allocations: 4.395 MB / 423 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2812, allocations: 12.03 kB / 423 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/0.2853, allocations: 0.8123 MB / 423.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.2889, allocations: 2.315 MB / 426.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.2891, allocations: 238.6 kB / 426.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.2895, allocations: 316.3 kB / 426.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006404/0.296, allocations: 4.254 MB / 430.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.296, allocations: 11.91 kB / 430.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.2963, allocations: 120 kB / 431.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2965, allocations: 146.2 kB / 431.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005712/0.3022, allocations: 3.659 MB / 434.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.3195, allocations: 13.33 MB / 448.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006029/0.3255, allocations: 6.861 MB / 455 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.3277, allocations: 1.418 MB / 456.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005186/0.3329, allocations: 3.624 MB / 460.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.333, allocations: 51.5 kB / 460.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=124): time 3.006e-06/0.333, allocations: 0 / 460.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01288/0.3459, allocations: 6.634 MB / 466.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3459, allocations: 72.66 kB / 466.8 MB, free: 3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.3488, allocations: 1.863 MB / 468.7 MB, free: 1.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.3489, allocations: 49.7 kB / 468.8 MB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.3499, allocations: 1.419 MB / 470.2 MB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.3503, allocations: 496.8 kB / 470.7 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/0.3508, allocations: 307.3 kB / 471 MB, free: 14.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.3509, allocations: 309.1 kB / 471.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3522, allocations: 0.7574 MB / 472 MB, free: 13.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.3537, allocations: 1.22 MB / 473.2 MB, free: 12.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.3566, allocations: 2.115 MB / 475.4 MB, free: 10.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.3567, allocations: 4 kB / 475.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004413/0.3611, allocations: 2.652 MB / 478 MB, free: 7.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3611, allocations: 12 kB / 478 MB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3611, allocations: 15.94 kB / 478 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.3625, allocations: 0.4974 MB / 478.5 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.364, allocations: 379.5 kB / 478.9 MB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008344/0.3723, allocations: 6.936 MB / 485.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3737, allocations: 71.95 kB / 485.9 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.3738, allocations: 71.98 kB / 486 MB, free: 15.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (7,31,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001651/0.3755, allocations: 1.048 MB / 487 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.3759, allocations: 193.6 kB / 487.2 MB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.3801, allocations: 2.504 MB / 489.7 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.3802, allocations: 7.969 kB / 489.7 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3802, allocations: 0 / 489.7 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/0.381, allocations: 458.5 kB / 490.2 MB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/0.3814, allocations: 32 kB / 490.2 MB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009616/0.3823, allocations: 63.95 kB / 490.3 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.3826, allocations: 125.1 kB / 490.4 MB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00506/0.3876, allocations: 2.453 MB / 492.8 MB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004004/0.3917, allocations: 2.914 MB / 495.8 MB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001127/0.3928, allocations: 0.8339 MB / 496.6 MB, free: 4.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.3948, allocations: 1.289 MB / 497.9 MB, free: 3.09 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3948, allocations: 0 / 497.9 MB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.3987, allocations: 1.928 MB / 499.8 MB, free: 1.129 MB / 414.1 MB Notification: Performance of SimCode: time 0.009878/0.4086, allocations: 6.406 MB / 0.4944 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Templates: time 0.05651/0.4651, allocations: 35.63 MB / 0.5292 GB, free: 6.969 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1)