Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001121/0.001121, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009628/0.0009628, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2121, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01372/0.2258, allocations: 12.88 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.2328, allocations: 4.253 MB / 418.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.2343, allocations: 75.75 kB / 418.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2367, allocations: 1.021 MB / 419.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.24, allocations: 1.336 MB / 421 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.2418, allocations: 0.8412 MB / 421.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.2458, allocations: 4.019 MB / 425.9 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.2494, allocations: 3.232 MB / 429.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.2517, allocations: 1.9 MB / 431 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.2544, allocations: 2.117 MB / 433.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008143/0.2553, allocations: 0.5117 MB / 433.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2567, allocations: 0.7068 MB / 434.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.2578, allocations: 1.141 MB / 435.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.2602, allocations: 2.124 MB / 437.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.2659, allocations: 6.754 MB / 444.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2659, allocations: 0 / 444.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2659, allocations: 0 / 444.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.266, allocations: 0 / 444.3 MB, free: 13.74 MB / 366.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.01068/0.2767, allocations: 4.394 MB / 448.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2768, allocations: 15.97 kB / 448.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.2811, allocations: 0.8163 MB / 449.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.2854, allocations: 2.455 MB / 452 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.2855, allocations: 234.6 kB / 452.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.286, allocations: 324 kB / 452.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007002/0.2931, allocations: 4.258 MB / 456.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.2931, allocations: 7.906 kB / 456.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.2934, allocations: 128 kB / 457 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.2936, allocations: 138.2 kB / 457.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00601/0.2996, allocations: 3.663 MB / 460.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.3183, allocations: 13.31 MB / 474.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.3248, allocations: 6.874 MB / 480.9 MB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.3271, allocations: 1.413 MB / 482.4 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005583/0.3327, allocations: 3.639 MB / 486 MB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3327, allocations: 51.5 kB / 486 MB, free: 2.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 2.806e-06/0.3327, allocations: 0 / 486 MB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01258/0.3453, allocations: 6.634 MB / 492.7 MB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3454, allocations: 72.72 kB / 492.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.348, allocations: 1.851 MB / 494.6 MB, free: 9.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3481, allocations: 49.7 kB / 494.6 MB, free: 9.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009977/0.3491, allocations: 1.431 MB / 496.1 MB, free: 8.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.3495, allocations: 496.8 kB / 496.6 MB, free: 7.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.35, allocations: 303.3 kB / 496.9 MB, free: 7.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3501, allocations: 305.1 kB / 497.2 MB, free: 7.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3514, allocations: 0.7652 MB / 497.9 MB, free: 6.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.3529, allocations: 1.224 MB / 499.1 MB, free: 4.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.3558, allocations: 2.108 MB / 0.4895 GB, free: 2.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.3559, allocations: 7.938 kB / 0.4895 GB, free: 2.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004485/0.3603, allocations: 2.655 MB / 0.4921 GB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3604, allocations: 15.88 kB / 0.4921 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.3604, allocations: 19.98 kB / 0.4921 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.3617, allocations: 0.5101 MB / 0.4926 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.3632, allocations: 375.5 kB / 0.493 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008455/0.3717, allocations: 6.93 MB / 0.4998 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3728, allocations: 79.86 kB / 0.4998 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.3729, allocations: 68 kB / 0.4999 GB, free: 7.672 MB / 430.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%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00147/0.3744, allocations: 1.048 MB / 0.5009 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.3747, allocations: 193.7 kB / 0.5011 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.3789, allocations: 2.496 MB / 0.5036 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3789, allocations: 7.969 kB / 0.5036 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3789, allocations: 4 kB / 0.5036 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000799/0.3797, allocations: 458.4 kB / 0.504 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.38, allocations: 28 kB / 0.504 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/0.3809, allocations: 71.94 kB / 0.5041 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.3812, allocations: 117.1 kB / 0.5042 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005166/0.3863, allocations: 2.453 MB / 0.5066 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004027/0.3904, allocations: 2.921 MB / 0.5095 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001139/0.3915, allocations: 0.8262 MB / 0.5103 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.3933, allocations: 1.282 MB / 0.5115 GB, free: 11.65 MB / 446.1 MB Notification: Performance of Backend: time 3.41e-07/0.3933, allocations: 3.938 kB / 0.5115 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.397, allocations: 1.932 MB / 0.5134 GB, free: 9.684 MB / 446.1 MB Notification: Performance of SimCode: time 0.009408/0.4064, allocations: 6.403 MB / 0.5197 GB, free: 3.242 MB / 446.1 MB Notification: Performance of Templates: time 0.2098/0.6162, allocations: 35.1 MB / 0.5539 GB, free: 125.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)