Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001784/0.001784, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2453, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009308/0.2546, allocations: 8.902 MB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.2593, allocations: 2.858 MB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009409/0.2602, allocations: 43.81 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2618, allocations: 0.6368 MB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2636, allocations: 0.7652 MB / 414.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.2642, allocations: 327.5 kB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.2663, allocations: 2.357 MB / 417.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.2682, allocations: 1.766 MB / 419.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.2693, allocations: 1.067 MB / 420.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2708, allocations: 1.343 MB / 421.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.2712, allocations: 280 kB / 421.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006377/0.2718, allocations: 363.8 kB / 422.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007123/0.2726, allocations: 0.7986 MB / 422.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.2737, allocations: 1.264 MB / 424.2 MB, free: 2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.2766, allocations: 3.674 MB / 427.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2766, allocations: 0 / 427.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2766, allocations: 3.938 kB / 427.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.977e-05/0.2767, allocations: 0 / 427.8 MB, free: 14.31 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004417/0.2811, allocations: 2.579 MB / 430.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2811, allocations: 16.02 kB / 430.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006163/0.2818, allocations: 254.1 kB / 430.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.284, allocations: 1.385 MB / 432.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.2841, allocations: 139.9 kB / 432.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.2844, allocations: 184 kB / 432.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.288, allocations: 2.417 MB / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.2881, allocations: 4 kB / 434.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.2883, allocations: 68 kB / 434.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.289e-05/0.2884, allocations: 95.47 kB / 435 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.2915, allocations: 2.016 MB / 437 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.302, allocations: 7.37 MB / 444.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3038, allocations: 1.265 MB / 445.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.3055, allocations: 0.9314 MB / 446.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.3057, allocations: 114.1 kB / 446.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3058, allocations: 43.56 kB / 446.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.266e-06/0.3058, allocations: 4 kB / 446.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.008725/0.3145, allocations: 4.896 MB / 451.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3145, allocations: 68.33 kB / 451.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3163, allocations: 1.376 MB / 453.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.3164, allocations: 41.7 kB / 453.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.317, allocations: 0.8931 MB / 454 MB, free: 3.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.3172, allocations: 358.8 kB / 454.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.3176, allocations: 210.8 kB / 454.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3177, allocations: 353.9 kB / 454.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/0.3186, allocations: 0.635 MB / 455.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3198, allocations: 0.922 MB / 456.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.322, allocations: 1.645 MB / 458.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.322, allocations: 0 / 458.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00391/0.3259, allocations: 2.39 MB / 460.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3259, allocations: 8 kB / 460.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.326, allocations: 8 kB / 460.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.3277, allocations: 0.7161 MB / 461.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.3286, allocations: 235.7 kB / 461.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.339, allocations: 8.726 MB / 470.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.34, allocations: 79.84 kB / 470.2 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.3401, allocations: 48 kB / 470.3 MB, free: 2.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001/0.3411, allocations: 0.6301 MB / 470.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.3414, allocations: 150.2 kB / 471.1 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.3446, allocations: 1.889 MB / 473 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.3446, allocations: 12.02 kB / 473 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3446, allocations: 0 / 473 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.3453, allocations: 363.1 kB / 473.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3455, allocations: 16 kB / 473.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.3463, allocations: 79.91 kB / 473.4 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3465, allocations: 84.86 kB / 473.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004083/0.3505, allocations: 2.007 MB / 475.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003483/0.354, allocations: 2.509 MB / 478 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009102/0.355, allocations: 0.6948 MB / 478.7 MB, free: 10.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.3564, allocations: 0.9504 MB / 479.7 MB, free: 9.238 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3564, allocations: 0 / 479.7 MB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.3595, allocations: 1.594 MB / 481.3 MB, free: 7.609 MB / 398.1 MB Notification: Performance of SimCode: time 0.006093/0.3657, allocations: 4.294 MB / 485.6 MB, free: 3.262 MB / 398.1 MB Notification: Performance of Templates: time 0.03933/0.405, allocations: 25.59 MB / 0.4992 GB, free: 9.891 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1)