Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001623/0.001623, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.002024/0.002024, allocations: 217.1 kB / 24.49 MB, free: 3.926 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.777 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 52.02 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.213, allocations: 53.36 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01227/0.2253, allocations: 8.63 MB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.2312, allocations: 2.929 MB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.2322, allocations: 59.62 kB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.2338, allocations: 0.6122 MB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.2359, allocations: 0.7959 MB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.2367, allocations: 391.4 kB / 445.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.2396, allocations: 2.444 MB / 448.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2411, allocations: 1.045 MB / 449.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.2428, allocations: 1.117 MB / 450.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.2447, allocations: 1.343 MB / 451.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.2451, allocations: 280 kB / 452 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.2459, allocations: 379.8 kB / 452.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007846/0.2466, allocations: 0.7829 MB / 453.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2478, allocations: 1.035 MB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004093/0.2519, allocations: 3.694 MB / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2519, allocations: 0 / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2519, allocations: 0 / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.278e-05/0.252, allocations: 0 / 457.9 MB, free: 13.03 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005323/0.2573, allocations: 2.58 MB / 460.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2573, allocations: 11.97 kB / 460.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.2582, allocations: 287.3 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.2619, allocations: 1.294 MB / 462 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.2621, allocations: 140.2 kB / 462.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.2625, allocations: 203.9 kB / 462.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/0.2676, allocations: 2.515 MB / 464.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.2676, allocations: 12 kB / 464.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.2678, allocations: 72 kB / 465 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.2679, allocations: 91.67 kB / 465.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.2712, allocations: 1.955 MB / 467 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.2825, allocations: 6.762 MB / 473.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2841, allocations: 1.019 MB / 474.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.2859, allocations: 0.9133 MB / 475.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.2861, allocations: 44.97 kB / 475.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2862, allocations: 43.5 kB / 475.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 5.08e-06/0.2862, allocations: 3.984 kB / 475.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01266/0.2988, allocations: 5.491 MB / 481.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2989, allocations: 64.41 kB / 481.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.3005, allocations: 1.174 MB / 482.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.323e-05/0.3006, allocations: 45.7 kB / 482.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/0.3013, allocations: 0.9528 MB / 483.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.3017, allocations: 408.5 kB / 483.9 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.3021, allocations: 251.5 kB / 484.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3023, allocations: 365.9 kB / 484.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3033, allocations: 0.6325 MB / 485.2 MB, free: 1.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.3046, allocations: 1.004 MB / 486.2 MB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.307, allocations: 1.731 MB / 487.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.307, allocations: 0 / 487.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003928/0.311, allocations: 2.23 MB / 490.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.311, allocations: 11.94 kB / 490.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.311, allocations: 15.98 kB / 490.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.3123, allocations: 496.2 kB / 490.6 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.3135, allocations: 299.6 kB / 490.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/0.321, allocations: 6.703 MB / 497.6 MB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.3222, allocations: 88.11 kB / 497.7 MB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.3223, allocations: 60 kB / 497.8 MB, free: 3.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.3233, allocations: 0.6089 MB / 498.4 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.3236, allocations: 147 kB / 498.5 MB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.3271, allocations: 1.94 MB / 0.4887 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3271, allocations: 3.984 kB / 0.4887 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3271, allocations: 0 / 0.4887 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.3279, allocations: 270.9 kB / 0.489 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.3281, allocations: 27.98 kB / 0.489 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.3288, allocations: 75.91 kB / 0.4891 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.329, allocations: 92.8 kB / 0.4892 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00451/0.3335, allocations: 2.067 MB / 0.4912 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003624/0.3372, allocations: 2.459 MB / 0.4936 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009683/0.3381, allocations: 0.6246 MB / 0.4942 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.3393, allocations: 0.7869 MB / 0.495 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.3393, allocations: 0 / 0.495 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.3427, allocations: 1.599 MB / 0.4965 GB, free: 9.168 MB / 414.1 MB Notification: Performance of SimCode: time 0.006791/0.3495, allocations: 4.507 MB / 0.5009 GB, free: 4.602 MB / 414.1 MB Notification: Performance of Templates: time 0.04581/0.3953, allocations: 27.86 MB / 0.5282 GB, free: 9.129 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.165830668003764] 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]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 0.4038853130041389 0.557744153 0.30346119199999994 Calling exit ...