Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001095/0.001095, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009588/0.0009588, allocations: 47.92 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2196, allocations: 49.43 MB / 401.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01036/0.23, allocations: 9.653 MB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.2354, allocations: 3.553 MB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.236, allocations: 47.81 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.2375, allocations: 0.6986 MB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.2392, allocations: 0.8662 MB / 416.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.2401, allocations: 470.3 kB / 416.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.2424, allocations: 2.639 MB / 419.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.2443, allocations: 1.877 MB / 421.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.2456, allocations: 1.187 MB / 422.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.2474, allocations: 1.502 MB / 423.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.2478, allocations: 304 kB / 424.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009481/0.2487, allocations: 0.5737 MB / 424.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009137/0.2497, allocations: 1.025 MB / 425.8 MB, free: 340 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.251, allocations: 1.477 MB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.2546, allocations: 4.291 MB / 431.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2546, allocations: 3.938 kB / 431.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2546, allocations: 0 / 431.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.347e-05/0.2547, allocations: 8 kB / 431.6 MB, free: 10.53 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005657/0.2604, allocations: 3.154 MB / 434.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2604, allocations: 12.02 kB / 434.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.2612, allocations: 321.3 kB / 435.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.2639, allocations: 1.697 MB / 436.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.264, allocations: 155.9 kB / 436.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.2643, allocations: 207.9 kB / 437.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.2687, allocations: 2.702 MB / 439.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.2688, allocations: 4 kB / 439.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.269, allocations: 76 kB / 439.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.2691, allocations: 95.94 kB / 440 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.2729, allocations: 2.283 MB / 442.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.285, allocations: 8.146 MB / 450.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.2879, allocations: 1.619 MB / 452.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.2899, allocations: 1.106 MB / 453.2 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.2902, allocations: 122.1 kB / 453.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2902, allocations: 47.5 kB / 453.3 MB, free: 4.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.2902, allocations: 0 / 453.3 MB, free: 4.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01253/0.3028, allocations: 6.46 MB / 459.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3028, allocations: 72.72 kB / 459.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.3054, allocations: 2.149 MB / 462 MB, free: 11.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.3055, allocations: 53.7 kB / 462.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007478/0.3063, allocations: 1.096 MB / 463.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.3066, allocations: 461.3 kB / 463.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.307, allocations: 239.5 kB / 463.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3071, allocations: 357.9 kB / 464.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3084, allocations: 0.7613 MB / 465 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.3099, allocations: 1.013 MB / 466 MB, free: 7.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.3127, allocations: 1.861 MB / 467.8 MB, free: 5.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3127, allocations: 7.938 kB / 467.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004966/0.3177, allocations: 2.761 MB / 470.6 MB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3177, allocations: 12 kB / 470.6 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3178, allocations: 4 kB / 470.6 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.3197, allocations: 0.785 MB / 471.4 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3209, allocations: 271.6 kB / 471.7 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3327, allocations: 9.586 MB / 481.3 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.3341, allocations: 96.08 kB / 481.3 MB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.3342, allocations: 52.05 kB / 481.4 MB, free: 7.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.3354, allocations: 0.745 MB / 482.1 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.3357, allocations: 205.4 kB / 482.3 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.3403, allocations: 2.5 MB / 484.8 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.3403, allocations: 7.969 kB / 484.9 MB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3403, allocations: 0 / 484.9 MB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008474/0.3412, allocations: 446.4 kB / 485.3 MB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.3414, allocations: 24.08 kB / 485.3 MB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000976/0.3424, allocations: 99.86 kB / 485.4 MB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.3427, allocations: 113.1 kB / 485.5 MB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005632/0.3483, allocations: 2.569 MB / 488.1 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004674/0.353, allocations: 3.075 MB / 491.2 MB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001316/0.3543, allocations: 0.8612 MB / 492 MB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.3564, allocations: 1.519 MB / 493.5 MB, free: 11.24 MB / 414.1 MB Notification: Performance of Backend: time 3.41e-07/0.3564, allocations: 0 / 493.5 MB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004822/0.3612, allocations: 2.263 MB / 495.8 MB, free: 9.133 MB / 414.1 MB Notification: Performance of SimCode: time 0.007697/0.3689, allocations: 5.46 MB / 0.4895 GB, free: 3.621 MB / 414.1 MB Notification: Performance of Templates: time 0.05064/0.4196, allocations: 32.31 MB / 0.5211 GB, free: 3.535 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1)