Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|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.core.Phi.im|aimc.stator.core.Phi.re|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.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 117.2 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.001063/0.001063, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 359.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.206, allocations: 50.55 MB / 410 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01417/0.2202, allocations: 14.25 MB / 424.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.2277, allocations: 5.354 MB / 429.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008232/0.2285, allocations: 87.69 kB / 429.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.2306, allocations: 1.091 MB / 430.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.2332, allocations: 1.483 MB / 432.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.2351, allocations: 1.016 MB / 433.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.2388, allocations: 4.368 MB / 437.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.242, allocations: 3.355 MB / 441 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.244, allocations: 2.029 MB / 443 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.2466, allocations: 2.402 MB / 445.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005545/0.2471, allocations: 0.5429 MB / 446 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.2484, allocations: 0.9174 MB / 446.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.2495, allocations: 1.36 MB / 448.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.2513, allocations: 2.364 MB / 450.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005783/0.2571, allocations: 7.397 MB / 458 MB, free: 1.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2571, allocations: 0 / 458 MB, free: 1.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2571, allocations: 0 / 458 MB, free: 1.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.201e-05/0.2572, allocations: 0 / 458 MB, free: 1.258 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.009967/0.2672, allocations: 5.027 MB / 463 MB, free: 12.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2672, allocations: 8.031 kB / 463 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.2718, allocations: 0.9092 MB / 463.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004026/0.2758, allocations: 2.814 MB / 466.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.276, allocations: 250.7 kB / 467 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004861/0.2765, allocations: 335.9 kB / 467.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00697/0.2835, allocations: 4.547 MB / 471.9 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.2836, allocations: 3.984 kB / 471.9 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.2839, allocations: 139.9 kB / 472 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.284, allocations: 154.7 kB / 472.2 MB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.2904, allocations: 3.915 MB / 476.1 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/0.3088, allocations: 13.99 MB / 490.1 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.316, allocations: 6.983 MB / 497.1 MB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/0.3188, allocations: 1.72 MB / 498.8 MB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.3252, allocations: 4.491 MB / 0.4915 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3252, allocations: 51.88 kB / 0.4915 GB, free: 2.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.146e-06/0.3252, allocations: 0 / 0.4915 GB, free: 2.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01538/0.3406, allocations: 7.776 MB / 0.4991 GB, free: 10.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3406, allocations: 73.41 kB / 0.4992 GB, free: 10.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.3438, allocations: 2.654 MB / 0.5018 GB, free: 7.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3439, allocations: 57.7 kB / 0.5018 GB, free: 7.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.345, allocations: 1.639 MB / 0.5034 GB, free: 6.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.3455, allocations: 0.6237 MB / 0.504 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.346, allocations: 331.4 kB / 0.5044 GB, free: 5.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.3461, allocations: 305.1 kB / 0.5047 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.3476, allocations: 0.9097 MB / 0.5055 GB, free: 3.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.3494, allocations: 1.302 MB / 0.5068 GB, free: 2.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.3529, allocations: 2.359 MB / 0.5091 GB, free: 15.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3529, allocations: 4 kB / 0.5091 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005166/0.3581, allocations: 3.065 MB / 0.5121 GB, free: 12.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3582, allocations: 15.94 kB / 0.5121 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.3582, allocations: 12 kB / 0.5121 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.3596, allocations: 0.548 MB / 0.5127 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3613, allocations: 439.3 kB / 0.5131 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/0.3704, allocations: 7.592 MB / 0.5205 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3716, allocations: 87.84 kB / 0.5206 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.3718, allocations: 79.98 kB / 0.5207 GB, free: 3.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.3734, allocations: 1.173 MB / 0.5218 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.3738, allocations: 252.9 kB / 0.5221 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.379, allocations: 2.89 MB / 0.5249 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.379, allocations: 11.95 kB / 0.5249 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.379, allocations: 4 kB / 0.5249 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000791/0.3798, allocations: 0.5369 MB / 0.5254 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.3801, allocations: 39.98 kB / 0.5255 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.3812, allocations: 87.86 kB / 0.5255 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.3815, allocations: 161.7 kB / 0.5257 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006415/0.3879, allocations: 3.039 MB / 0.5287 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005423/0.3933, allocations: 3.625 MB / 0.5322 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001548/0.3949, allocations: 1.038 MB / 0.5332 GB, free: 6.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00239/0.3973, allocations: 1.871 MB / 0.535 GB, free: 4.973 MB / 462.1 MB Notification: Performance of Backend: time 3.3e-07/0.3973, allocations: 0 / 0.535 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005554/0.4029, allocations: 2.638 MB / 0.5376 GB, free: 2.461 MB / 462.1 MB Notification: Performance of SimCode: time 0.175/0.5779, allocations: 7.561 MB / 0.545 GB, free: 122.9 MB / 462.1 MB Notification: Performance of Templates: time 0.05378/0.6317, allocations: 42.7 MB / 0.5867 GB, free: 88.83 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)