Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 188.6 kB / 295 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03921/0.03921, allocations: 8.795 MB / 356 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.86 kB / 473.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.291, allocations: 51.57 MB / 0.5126 GB, free: 34.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.02881/0.3198, allocations: 38.31 MB / 0.55 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02028/0.3402, allocations: 10.03 MB / 0.5598 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00845/0.3487, allocations: 292.8 kB / 0.5601 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02577/0.3745, allocations: 10.13 MB / 0.57 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.3902, allocations: 4.044 MB / 0.5739 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008273/0.3985, allocations: 2.369 MB / 0.5762 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02465/0.4231, allocations: 16.39 MB / 0.5922 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05423/0.4774, allocations: 31.19 MB / 0.6227 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.4936, allocations: 8.462 MB / 0.631 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0165/0.5101, allocations: 9.32 MB / 0.6401 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006845/0.517, allocations: 2.418 MB / 0.6424 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00957/0.5266, allocations: 2.824 MB / 0.6452 GB, free: 7.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00845/0.5351, allocations: 4.809 MB / 0.6499 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0187/0.5539, allocations: 9.199 MB / 0.6589 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04525/0.5992, allocations: 32.18 MB / 0.6903 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.5992, allocations: 0 / 0.6903 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5992, allocations: 0 / 0.6903 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008292/0.6001, allocations: 4 kB / 0.6903 GB, free: 9.113 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.4293/1.029, allocations: 19.01 MB / 0.7088 GB, free: 120.6 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.029, allocations: 12.53 kB / 0.7089 GB, free: 120.6 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04217/1.072, allocations: 8.378 MB / 0.717 GB, free: 119.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/1.089, allocations: 10.23 MB / 0.727 GB, free: 114.3 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008967/1.09, allocations: 1.06 MB / 0.7281 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00513/1.095, allocations: 1.399 MB / 0.7294 GB, free: 113.4 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0512/1.146, allocations: 22.75 MB / 0.7516 GB, free: 103.5 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004964/1.146, allocations: 23.3 kB / 0.7517 GB, free: 103.5 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003839/1.15, allocations: 0.5758 MB / 0.7522 GB, free: 103 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005415/1.151, allocations: 0.7784 MB / 0.753 GB, free: 102.5 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0336/1.184, allocations: 21.02 MB / 0.7735 GB, free: 81.49 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08425/1.269, allocations: 72.19 MB / 0.844 GB, free: 8.715 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03469/1.303, allocations: 42.4 MB / 0.8854 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008578/1.312, allocations: 5.17 MB / 0.8905 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02105/1.333, allocations: 12.7 MB / 0.9029 GB, free: 7.547 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.564e-05/1.333, allocations: 86.77 kB / 0.9029 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=498): time 8.305e-06/1.333, allocations: 3.984 kB / 0.903 GB, free: 7.449 MB / 0.5607 GB Notification: Performance of matching and sorting (n=506): time 0.2308/1.564, allocations: 26.67 MB / 0.929 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.564, allocations: 133.7 kB / 0.9291 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/1.57, allocations: 5.769 MB / 0.9348 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003963/1.571, allocations: 108.2 kB / 0.9349 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/1.573, allocations: 6.374 MB / 0.9411 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.575, allocations: 1.808 MB / 0.9429 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/1.576, allocations: 1.466 MB / 0.9443 GB, free: 155.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.362e-05/1.576, allocations: 301.1 kB / 0.9446 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004354/1.581, allocations: 3.628 MB / 0.9481 GB, free: 153.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005405/1.586, allocations: 6.476 MB / 0.9544 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.597, allocations: 10.77 MB / 0.965 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.003e-05/1.597, allocations: 26.66 kB / 0.965 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01669/1.614, allocations: 12.11 MB / 0.9768 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/1.614, allocations: 47.12 kB / 0.9769 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/1.614, allocations: 93.42 kB / 0.9769 GB, free: 136.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/1.618, allocations: 1.603 MB / 0.9785 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.623, allocations: 1.672 MB / 0.9801 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.64, allocations: 19.67 MB / 0.9994 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.646, allocations: 431.4 kB / 0.9998 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/1.646, allocations: 371.5 kB / 1 GB, free: 121 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00603/1.652, allocations: 5.185 MB / 1.005 GB, free: 116.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.653, allocations: 0.628 MB / 1.006 GB, free: 116 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.666, allocations: 9.379 MB / 1.015 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007018/1.673, allocations: 5.869 MB / 1.021 GB, free: 103 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/1.673, allocations: 23.7 kB / 1.021 GB, free: 103 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.673, allocations: 26.27 kB / 1.021 GB, free: 103 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/1.698, allocations: 21 MB / 1.041 GB, free: 82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.698, allocations: 8 kB / 1.041 GB, free: 81.99 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/1.701, allocations: 0.862 MB / 1.042 GB, free: 81.13 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/1.704, allocations: 1.643 MB / 1.044 GB, free: 79.46 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/1.705, allocations: 124 kB / 1.044 GB, free: 79.34 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.724, allocations: 23.27 MB / 1.067 GB, free: 55.13 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.724, allocations: 11.94 kB / 1.067 GB, free: 55.12 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/1.739, allocations: 13.75 MB / 1.08 GB, free: 41.01 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.742, allocations: 1.383 MB / 1.081 GB, free: 39.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.742, allocations: 111.9 kB / 1.081 GB, free: 39.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.745, allocations: 283.7 kB / 1.082 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/1.746, allocations: 412.4 kB / 1.082 GB, free: 38.81 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.746, allocations: 152 kB / 1.082 GB, free: 38.66 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004043/1.75, allocations: 3.895 MB / 1.086 GB, free: 34.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.5e-07/1.75, allocations: 0 / 1.086 GB, free: 34.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005981/1.756, allocations: 2.336 MB / 1.088 GB, free: 32.46 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005564/1.757, allocations: 312 kB / 1.089 GB, free: 32.16 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.768, allocations: 9.9 MB / 1.098 GB, free: 22.15 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.768, allocations: 448 / 1.098 GB, free: 22.15 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006553/1.774, allocations: 5.469 MB / 1.104 GB, free: 16.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/1.78, allocations: 1.633 MB / 1.105 GB, free: 15 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2221/2.003, allocations: 24.58 MB / 1.129 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/2.01, allocations: 8.568 MB / 1.138 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/2.012, allocations: 0.5122 MB / 1.138 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of SimCode: time 6.71e-07/2.012, allocations: 0 / 1.138 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of Templates: time 1.143/3.155, allocations: 0.6684 GB / 1.807 GB, free: 189.5 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.96076458483003] Failed to read output from testmodel.py, exit status != 0: 3.161151667125523 3.170025676 2.569068709 Calling exit ...