Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 50.54 MB / 410 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01433/0.2245, allocations: 13.52 MB / 423.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.232, allocations: 4.525 MB / 428 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.2336, allocations: 79.69 kB / 428.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.2358, allocations: 1.045 MB / 429.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.2386, allocations: 1.305 MB / 430.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.2404, allocations: 0.8955 MB / 431.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.244, allocations: 4.058 MB / 435.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.2473, allocations: 3.248 MB / 438.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.2493, allocations: 1.916 MB / 440.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.2518, allocations: 2.242 MB / 442.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005725/0.2523, allocations: 0.5078 MB / 443.3 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2535, allocations: 0.7341 MB / 444 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009096/0.2544, allocations: 1.141 MB / 445.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.2563, allocations: 2.136 MB / 447.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005859/0.2622, allocations: 6.813 MB / 454.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2622, allocations: 0 / 454.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2622, allocations: 4 kB / 454.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.2622, allocations: 0 / 454.1 MB, free: 5.324 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.009179/0.2714, allocations: 4.528 MB / 458.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2715, allocations: 8.031 kB / 458.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/0.276, allocations: 0.8573 MB / 459.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.2798, allocations: 2.52 MB / 462 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.28, allocations: 230.6 kB / 462.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.2804, allocations: 327.8 kB / 462.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.2869, allocations: 4.25 MB / 466.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.002e-05/0.287, allocations: 7.938 kB / 466.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.2873, allocations: 132 kB / 467 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.2874, allocations: 150.2 kB / 467.1 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.2932, allocations: 3.655 MB / 470.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.3116, allocations: 13.44 MB / 484.2 MB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006392/0.318, allocations: 6.881 MB / 491.1 MB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.3202, allocations: 1.413 MB / 492.5 MB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005679/0.3259, allocations: 3.874 MB / 496.4 MB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.326, allocations: 51.56 kB / 496.4 MB, free: 9.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.016e-06/0.326, allocations: 7.938 kB / 496.4 MB, free: 9.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0128/0.3388, allocations: 6.69 MB / 0.4913 GB, free: 2.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3389, allocations: 72.72 kB / 0.4914 GB, free: 2.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.3414, allocations: 1.88 MB / 0.4932 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.563e-05/0.3415, allocations: 53.7 kB / 0.4933 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.3425, allocations: 1.478 MB / 0.4947 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.3429, allocations: 0.519 MB / 0.4952 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004721/0.3434, allocations: 303.4 kB / 0.4955 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.3435, allocations: 301.1 kB / 0.4958 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3447, allocations: 0.7691 MB / 0.4966 GB, free: 13.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3463, allocations: 1.22 MB / 0.4978 GB, free: 11.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.3491, allocations: 2.111 MB / 0.4998 GB, free: 9.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.3491, allocations: 4 kB / 0.4998 GB, free: 9.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004615/0.3537, allocations: 2.672 MB / 0.5024 GB, free: 6.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.3538, allocations: 15.94 kB / 0.5024 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.3538, allocations: 12 kB / 0.5025 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.3552, allocations: 0.5013 MB / 0.5029 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.3568, allocations: 383.4 kB / 0.5033 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008453/0.3652, allocations: 6.931 MB / 0.5101 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3665, allocations: 76.06 kB / 0.5102 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.3667, allocations: 79.88 kB / 0.5102 GB, free: 14.43 MB / 446.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.001606/0.3683, allocations: 1.048 MB / 0.5113 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.3686, allocations: 206.7 kB / 0.5115 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.373, allocations: 2.496 MB / 0.5139 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.373, allocations: 3.984 kB / 0.5139 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.373, allocations: 3.938 kB / 0.5139 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.3738, allocations: 475.6 kB / 0.5144 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.3741, allocations: 28 kB / 0.5144 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/0.375, allocations: 63.94 kB / 0.5144 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/0.3753, allocations: 125.1 kB / 0.5146 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005162/0.3805, allocations: 2.453 MB / 0.517 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004077/0.3846, allocations: 2.931 MB / 0.5198 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.3857, allocations: 0.8262 MB / 0.5206 GB, free: 3.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.3876, allocations: 1.306 MB / 0.5219 GB, free: 2.352 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.3876, allocations: 3.938 kB / 0.5219 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.3914, allocations: 1.947 MB / 0.5238 GB, free: 372 kB / 446.1 MB Notification: Performance of SimCode: time 0.009604/0.401, allocations: 6.543 MB / 0.5302 GB, free: 9.777 MB / 462.1 MB Notification: Performance of Templates: time 0.2238/0.6248, allocations: 35.55 MB / 0.5649 GB, free: 109.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)