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.001088/0.001088, allocations: 101.6 kB / 18.4 MB, free: 4.527 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.001125/0.001125, allocations: 191 kB / 19.34 MB, free: 3.594 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.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001244/0.001244, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07126/0.07251, allocations: 46.62 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.1587/0.2313, allocations: 12.82 MB / 388.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.238, allocations: 4.29 MB / 393 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.2391, allocations: 65.09 kB / 393 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2411, allocations: 1.01 MB / 394 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.2437, allocations: 1.321 MB / 395.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2454, allocations: 0.8633 MB / 396.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004803/0.2502, allocations: 4.041 MB / 400.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.2538, allocations: 3.188 MB / 403.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.2565, allocations: 1.887 MB / 405.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/0.2601, allocations: 2.112 MB / 407.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.2614, allocations: 0.509 MB / 408 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.2635, allocations: 0.718 MB / 408.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.2646, allocations: 1.143 MB / 409.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.2671, allocations: 2.129 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006756/0.2739, allocations: 6.745 MB / 418.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2739, allocations: 7.875 kB / 418.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2739, allocations: 1.406 kB / 418.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000127/0.2741, allocations: 0 / 418.7 MB, free: 4.418 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.01067/0.2847, allocations: 4.495 MB / 423.2 MB, free: 164 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2848, allocations: 8.031 kB / 423.2 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/0.2892, allocations: 0.8293 MB / 424 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.2935, allocations: 2.332 MB / 426.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.2937, allocations: 234.6 kB / 426.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006165/0.2943, allocations: 313.1 kB / 426.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007181/0.3015, allocations: 4.258 MB / 431.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.3016, allocations: 7.953 kB / 431.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.3019, allocations: 127.9 kB / 431.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.3021, allocations: 150.2 kB / 431.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006069/0.3081, allocations: 3.651 MB / 435.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.3285, allocations: 13.36 MB / 448.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006512/0.335, allocations: 6.885 MB / 455.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.3373, allocations: 1.414 MB / 456.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006037/0.3434, allocations: 3.632 MB / 460.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3434, allocations: 43.56 kB / 460.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=124): time 2.735e-06/0.3435, allocations: 0 / 460.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01358/0.357, allocations: 6.678 MB / 467.1 MB, free: 2.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3571, allocations: 68.72 kB / 467.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.3599, allocations: 1.859 MB / 469 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/0.36, allocations: 49.7 kB / 469.1 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009459/0.3609, allocations: 1.455 MB / 470.5 MB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.3613, allocations: 0.519 MB / 471 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.3618, allocations: 303.5 kB / 471.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.3619, allocations: 309.1 kB / 471.6 MB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.3632, allocations: 0.7613 MB / 472.4 MB, free: 13.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.3647, allocations: 1.224 MB / 473.6 MB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.3676, allocations: 2.111 MB / 475.7 MB, free: 9.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.3676, allocations: 4 kB / 475.7 MB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004512/0.3721, allocations: 2.672 MB / 478.4 MB, free: 6.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3722, allocations: 12 kB / 478.4 MB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.3722, allocations: 15.94 kB / 478.4 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.3735, allocations: 0.4896 MB / 478.9 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.3751, allocations: 395.4 kB / 479.3 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.3835, allocations: 6.925 MB / 486.2 MB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.3848, allocations: 79.91 kB / 486.3 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.3849, allocations: 68 kB / 486.4 MB, free: 14.57 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.00149/0.3864, allocations: 1.052 MB / 487.4 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.3868, allocations: 206.8 kB / 487.6 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.391, allocations: 2.504 MB / 490.1 MB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.391, allocations: 7.969 kB / 490.1 MB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3911, allocations: 0 / 490.1 MB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.3919, allocations: 463.7 kB / 490.6 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.3922, allocations: 31.94 kB / 490.6 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.3932, allocations: 71.94 kB / 490.7 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.3935, allocations: 117.1 kB / 490.8 MB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005115/0.3986, allocations: 2.461 MB / 493.3 MB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004076/0.4027, allocations: 2.923 MB / 496.2 MB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/0.4039, allocations: 0.83 MB / 497 MB, free: 3.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.4058, allocations: 1.289 MB / 498.3 MB, free: 2.496 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.4058, allocations: 3.938 kB / 498.3 MB, free: 2.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004083/0.4099, allocations: 1.948 MB / 0.4885 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 0.01142/0.4213, allocations: 6.495 MB / 0.4949 GB, free: 9.957 MB / 430.1 MB Notification: Performance of Templates: time 0.05751/0.4789, allocations: 35.06 MB / 0.5291 GB, free: 6.828 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)