Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01041/0.2244, allocations: 7.956 MB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.229, allocations: 2.769 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.2294, allocations: 55.62 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.2308, allocations: 0.5975 MB / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.2324, allocations: 0.7769 MB / 444.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.233, allocations: 335.5 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.2354, allocations: 2.381 MB / 447.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2368, allocations: 1.024 MB / 448.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.238, allocations: 1.098 MB / 449.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.2397, allocations: 1.386 MB / 450.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.2401, allocations: 280 kB / 451 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.2408, allocations: 379.8 kB / 451.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000827/0.2417, allocations: 0.8142 MB / 452.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2428, allocations: 1.019 MB / 453.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.2465, allocations: 3.733 MB / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2466, allocations: 0 / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2466, allocations: 0 / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.2466, allocations: 0 / 456.9 MB, free: 14.02 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00487/0.2515, allocations: 2.583 MB / 459.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2515, allocations: 8.031 kB / 459.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.2525, allocations: 303.3 kB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.2551, allocations: 1.345 MB / 461.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.2553, allocations: 139.9 kB / 461.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.2556, allocations: 191.9 kB / 461.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.2598, allocations: 2.514 MB / 464 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.2599, allocations: 4 kB / 464 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.2601, allocations: 72 kB / 464.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.2602, allocations: 83.5 kB / 464.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.2638, allocations: 2.012 MB / 466.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.2751, allocations: 6.402 MB / 472.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.2769, allocations: 0.9889 MB / 473.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.2788, allocations: 0.8542 MB / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.279, allocations: 44.95 kB / 474.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.279, allocations: 43.56 kB / 474.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.279, allocations: 0 / 474.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009564/0.2886, allocations: 4.687 MB / 479.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2886, allocations: 68.41 kB / 479.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.2904, allocations: 1.253 MB / 480.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.2905, allocations: 41.7 kB / 480.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000755/0.2913, allocations: 0.9298 MB / 481.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.2916, allocations: 372.8 kB / 481.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.292, allocations: 214.9 kB / 482 MB, free: 4.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2922, allocations: 353.9 kB / 482.4 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.2933, allocations: 0.6311 MB / 483 MB, free: 3.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.2946, allocations: 0.922 MB / 483.9 MB, free: 2.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.2971, allocations: 1.649 MB / 485.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2971, allocations: 4 kB / 485.6 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004378/0.3015, allocations: 2.372 MB / 488 MB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3015, allocations: 8 kB / 488 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3015, allocations: 8 kB / 488 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.3034, allocations: 0.7168 MB / 488.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.3043, allocations: 231.6 kB / 488.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.3159, allocations: 8.387 MB / 497.3 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.317, allocations: 80.06 kB / 497.4 MB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3171, allocations: 55.98 kB / 497.5 MB, free: 4.57 MB / 398.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.001062/0.3181, allocations: 0.6339 MB / 498.1 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.3184, allocations: 143 kB / 498.2 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/0.3218, allocations: 1.885 MB / 0.4884 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3218, allocations: 3.984 kB / 0.4884 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3218, allocations: 0 / 0.4884 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.3226, allocations: 275 kB / 0.4887 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.3228, allocations: 27.98 kB / 0.4887 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007285/0.3235, allocations: 71.91 kB / 0.4887 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.3237, allocations: 84.83 kB / 0.4888 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004357/0.328, allocations: 1.996 MB / 0.4908 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003725/0.3318, allocations: 2.509 MB / 0.4932 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001013/0.3328, allocations: 0.6479 MB / 0.4939 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.334, allocations: 0.8575 MB / 0.4947 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.334, allocations: 0 / 0.4947 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003272/0.3373, allocations: 1.531 MB / 0.4962 GB, free: 9.805 MB / 414.1 MB Notification: Performance of SimCode: time 0.006821/0.3441, allocations: 4.314 MB / 0.5004 GB, free: 5.43 MB / 414.1 MB Notification: Performance of Templates: time 0.04414/0.3883, allocations: 27.83 MB / 0.5276 GB, free: 9.957 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.098397491994547] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.3962770090001868 0.558812277 0.309874739 Calling exit ...