Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002098/0.002098, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2016, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01205/0.2137, allocations: 9.808 MB / 441.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.2199, allocations: 3.786 MB / 445.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.2205, allocations: 51.81 kB / 445.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.222, allocations: 0.7104 MB / 446.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.2238, allocations: 0.9167 MB / 447.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000916/0.2247, allocations: 473.2 kB / 447.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.2275, allocations: 2.662 MB / 450.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.2289, allocations: 1.112 MB / 451.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.2303, allocations: 1.211 MB / 452.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.2322, allocations: 1.541 MB / 454.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003892/0.2326, allocations: 308 kB / 454.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.2335, allocations: 0.5777 MB / 455.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.2346, allocations: 1.032 MB / 456.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.236, allocations: 1.497 MB / 457.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.2404, allocations: 4.32 MB / 462.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2404, allocations: 0 / 462.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2404, allocations: 0 / 462.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.2404, allocations: 0 / 462.1 MB, free: 9.199 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005823/0.2462, allocations: 3.26 MB / 465.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2463, allocations: 12.03 kB / 465.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.2473, allocations: 374.9 kB / 465.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.2504, allocations: 1.745 MB / 467.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.2505, allocations: 148 kB / 467.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.2509, allocations: 207.9 kB / 467.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.2554, allocations: 2.698 MB / 470.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.2554, allocations: 11.95 kB / 470.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.2556, allocations: 76 kB / 470.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.2557, allocations: 95.94 kB / 470.7 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.2598, allocations: 2.284 MB / 473 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.2728, allocations: 8.161 MB / 481.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.2758, allocations: 1.538 MB / 482.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.2779, allocations: 1.021 MB / 483.7 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/0.2781, allocations: 134 kB / 483.8 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.2782, allocations: 47.56 kB / 483.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.966e-06/0.2782, allocations: 0 / 483.9 MB, free: 2.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01329/0.2915, allocations: 6.488 MB / 490.4 MB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.2915, allocations: 68.7 kB / 490.4 MB, free: 12.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.2944, allocations: 2.177 MB / 492.6 MB, free: 9.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.2945, allocations: 49.64 kB / 492.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/0.2954, allocations: 1.137 MB / 493.8 MB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.2958, allocations: 479.9 kB / 494.3 MB, free: 8.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/0.2963, allocations: 247.5 kB / 494.5 MB, free: 8.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2965, allocations: 361.9 kB / 494.9 MB, free: 7.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.2978, allocations: 0.7574 MB / 495.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.2995, allocations: 1.017 MB / 496.6 MB, free: 5.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.3025, allocations: 1.857 MB / 498.5 MB, free: 3.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3025, allocations: 0 / 498.5 MB, free: 3.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005241/0.3078, allocations: 2.758 MB / 0.4895 GB, free: 1.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3078, allocations: 8 kB / 0.4895 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3078, allocations: 8 kB / 0.4895 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.3098, allocations: 0.7814 MB / 0.4903 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.311, allocations: 267.6 kB / 0.4905 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.324, allocations: 9.611 MB / 0.4999 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.3251, allocations: 88.08 kB / 0.5 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3252, allocations: 59.98 kB / 0.5001 GB, free: 6.012 MB / 414.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.001142/0.3263, allocations: 0.7434 MB / 0.5008 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.3267, allocations: 218.6 kB / 0.501 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.3315, allocations: 2.481 MB / 0.5034 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.3315, allocations: 11.91 kB / 0.5034 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3315, allocations: 0 / 0.5034 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/0.3324, allocations: 459.5 kB / 0.5039 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.3326, allocations: 32.06 kB / 0.5039 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009261/0.3336, allocations: 83.89 kB / 0.504 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.3338, allocations: 113.1 kB / 0.5041 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005739/0.3395, allocations: 2.581 MB / 0.5066 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004902/0.3444, allocations: 3.092 MB / 0.5096 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001339/0.3458, allocations: 0.8065 MB / 0.5104 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.3479, allocations: 1.536 MB / 0.5119 GB, free: 9.762 MB / 430.1 MB Notification: Performance of Backend: time 2.11e-07/0.3479, allocations: 0 / 0.5119 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005558/0.3534, allocations: 2.188 MB / 0.514 GB, free: 7.742 MB / 430.1 MB Notification: Performance of SimCode: time 0.008142/0.3616, allocations: 5.595 MB / 0.5195 GB, free: 2.094 MB / 430.1 MB Notification: Performance of Templates: time 0.2111/0.5727, allocations: 33.5 MB / 0.5522 GB, free: 97.59 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.431018446572125] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.5798672018572688 0.588188485 0.34567300999999995 Calling exit ...