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_Initialize.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.001667/0.001667, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001965/0.001965, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.396/1.396, allocations: 230.4 MB / 258.1 MB, free: 8.141 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_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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [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.001948/0.001948, allocations: 79.75 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.22, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0113/0.2313, allocations: 9.048 MB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.2365, allocations: 2.956 MB / 444.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.2372, allocations: 43.81 kB / 444.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.2386, allocations: 0.6445 MB / 444.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.2403, allocations: 0.7729 MB / 445.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.2409, allocations: 343.4 kB / 445.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.2436, allocations: 2.366 MB / 448.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.245, allocations: 1.02 MB / 449.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.2464, allocations: 1.082 MB / 450.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.2483, allocations: 1.382 MB / 451.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.2487, allocations: 276 kB / 452 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.2494, allocations: 383.8 kB / 452.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008561/0.2502, allocations: 0.8103 MB / 453.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.2515, allocations: 1.268 MB / 454.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.2553, allocations: 3.71 MB / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2553, allocations: 0 / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2553, allocations: 0 / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.2553, allocations: 0 / 458.1 MB, free: 13.16 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.004866/0.2602, allocations: 2.655 MB / 460.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2602, allocations: 8.031 kB / 460.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.2612, allocations: 311.3 kB / 461.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.2638, allocations: 1.417 MB / 462.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.2639, allocations: 136 kB / 462.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.2642, allocations: 195.9 kB / 462.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.2681, allocations: 2.406 MB / 465.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.2682, allocations: 3.984 kB / 465.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.2683, allocations: 75.98 kB / 465.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.549e-05/0.2684, allocations: 87.5 kB / 465.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.2719, allocations: 2.012 MB / 467.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.2834, allocations: 7.388 MB / 474.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.2853, allocations: 1.223 MB / 476 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.287, allocations: 0.8578 MB / 476.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.2872, allocations: 122.1 kB / 477 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2873, allocations: 47.56 kB / 477.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.2873, allocations: 0 / 477.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009149/0.2964, allocations: 4.917 MB / 482 MB, free: 4.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2965, allocations: 60.41 kB / 482 MB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.2983, allocations: 1.393 MB / 483.4 MB, free: 3.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.2984, allocations: 45.7 kB / 483.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000743/0.2992, allocations: 0.9227 MB / 484.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.2995, allocations: 368.9 kB / 484.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.2998, allocations: 210.9 kB / 485 MB, free: 1.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3, allocations: 357.9 kB / 485.3 MB, free: 1.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.301, allocations: 0.6311 MB / 486 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.3023, allocations: 0.922 MB / 486.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.3047, allocations: 1.649 MB / 488.5 MB, free: 13.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3047, allocations: 4 kB / 488.5 MB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004266/0.3089, allocations: 2.38 MB / 490.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.309, allocations: 8 kB / 490.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.309, allocations: 8 kB / 490.9 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.3108, allocations: 0.7163 MB / 491.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/0.3117, allocations: 235.6 kB / 491.9 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.3232, allocations: 8.741 MB / 0.4889 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3242, allocations: 87.75 kB / 0.489 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.3243, allocations: 47.98 kB / 0.489 GB, free: 1.406 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.001011/0.3253, allocations: 0.6301 MB / 0.4896 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.3255, allocations: 155.1 kB / 0.4898 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.329, allocations: 1.89 MB / 0.4916 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.329, allocations: 7.969 kB / 0.4916 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.329, allocations: 0 / 0.4916 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008262/0.3298, allocations: 368 kB / 0.492 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.33, allocations: 20 kB / 0.492 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.3308, allocations: 75.91 kB / 0.4921 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.331, allocations: 88.8 kB / 0.4921 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004325/0.3353, allocations: 2.004 MB / 0.4941 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003705/0.339, allocations: 2.514 MB / 0.4966 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001004/0.34, allocations: 0.6557 MB / 0.4972 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.3414, allocations: 0.9586 MB / 0.4981 GB, free: 7.961 MB / 414.1 MB Notification: Performance of Backend: time 2.31e-07/0.3414, allocations: 0 / 0.4981 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.3448, allocations: 1.531 MB / 0.4996 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 0.006554/0.3513, allocations: 4.418 MB / 0.5039 GB, free: 1.926 MB / 414.1 MB Notification: Performance of Templates: time 0.0427/0.394, allocations: 26.62 MB / 0.5299 GB, free: 7.531 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.937850100919604] 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.40211254032328725 0.5523638829999999 0.29472686400000003 Calling exit ...