Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.0008749/0.0008749, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8815/0.8815, allocations: 177.2 MB / 200.2 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001165/0.001165, allocations: 152.6 kB / 256.7 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02221/0.02221, allocations: 6.661 MB / 319.8 MB, free: 26.78 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.098e-05, allocations: 5.234 kB / 446.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.01233/0.01235, allocations: 21.53 MB / 468.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02384, allocations: 7.909 MB / 476.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.02694, allocations: 210.9 kB / 476.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007076/0.03402, allocations: 8.266 MB / 484.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.04001, allocations: 3.143 MB / 487.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.04255, allocations: 1.831 MB / 489.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008784/0.05133, allocations: 11.69 MB / 0.4895 GB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.06653, allocations: 14.51 MB / 0.5037 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009269/0.07579, allocations: 8.905 MB / 0.5124 GB, free: 6.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.08162, allocations: 5.629 MB / 0.5179 GB, free: 1.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002259/0.08388, allocations: 1.715 MB / 0.5195 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.08644, allocations: 2.155 MB / 0.5216 GB, free: 13.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.08824, allocations: 3.464 MB / 0.525 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005626/0.09387, allocations: 4.23 MB / 0.5292 GB, free: 5.547 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2066/0.3005, allocations: 23.5 MB / 0.5521 GB, free: 44.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3005, allocations: 0 / 0.5521 GB, free: 44.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3005, allocations: 0 / 0.5521 GB, free: 44.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006103/0.3011, allocations: 0.625 kB / 0.5521 GB, free: 44.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02506/0.3261, allocations: 13.46 MB / 0.5653 GB, free: 40.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3262, allocations: 13.06 kB / 0.5653 GB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.3437, allocations: 6.259 MB / 0.5714 GB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.3544, allocations: 7.367 MB / 0.5786 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.3547, allocations: 0.7202 MB / 0.5793 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.3562, allocations: 0.9542 MB / 0.5802 GB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.3735, allocations: 16.31 MB / 0.5961 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.3736, allocations: 19.95 kB / 0.5962 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006798/0.3743, allocations: 398.5 kB / 0.5965 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.3745, allocations: 0.5591 MB / 0.5971 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.3893, allocations: 15.07 MB / 0.6118 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04696/0.4363, allocations: 45.42 MB / 0.6562 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009261/0.4455, allocations: 8.546 MB / 0.6645 GB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/0.449, allocations: 3.325 MB / 0.6678 GB, free: 1.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.4493, allocations: 115.4 kB / 0.6679 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.4493, allocations: 78.06 kB / 0.6679 GB, free: 1.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=447): time 5.37e-06/0.4493, allocations: 0 / 0.6679 GB, free: 1.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=452): time 0.03163/0.481, allocations: 20.41 MB / 0.6879 GB, free: 13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.481, allocations: 106.2 kB / 0.688 GB, free: 12.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.4856, allocations: 4.42 MB / 0.6923 GB, free: 8.484 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.4858, allocations: 97.7 kB / 0.6924 GB, free: 8.383 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002016/0.4878, allocations: 4.34 MB / 0.6966 GB, free: 4.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000908/0.4888, allocations: 1.587 MB / 0.6982 GB, free: 2.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.49, allocations: 1.196 MB / 0.6993 GB, free: 1.258 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.4901, allocations: 305.1 kB / 0.6996 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.4934, allocations: 3.061 MB / 0.7026 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/0.4975, allocations: 5.242 MB / 0.7077 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007496/0.505, allocations: 8.867 MB / 0.7164 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/0.505, allocations: 24 kB / 0.7164 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01061/0.5156, allocations: 9.828 MB / 0.726 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.5157, allocations: 36.34 kB / 0.7261 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-05/0.5157, allocations: 75.19 kB / 0.7261 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.518, allocations: 1.374 MB / 0.7275 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.5205, allocations: 1.394 MB / 0.7288 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.5316, allocations: 12.04 MB / 0.7406 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.5343, allocations: 351.7 kB / 0.7409 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/0.5346, allocations: 299.9 kB / 0.7412 GB, free: 5.133 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005063/0.5397, allocations: 3.886 MB / 0.745 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007384/0.5404, allocations: 475.4 kB / 0.7455 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1781/0.7186, allocations: 8.422 MB / 0.7537 GB, free: 198.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006495/0.7251, allocations: 6.205 MB / 0.7597 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.7251, allocations: 11.72 kB / 0.7597 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/0.7251, allocations: 22.31 kB / 0.7598 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.7406, allocations: 14.98 MB / 0.7744 GB, free: 189 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.7406, allocations: 8 kB / 0.7744 GB, free: 189 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.7421, allocations: 0.8137 MB / 0.7752 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.7439, allocations: 1.258 MB / 0.7764 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.7441, allocations: 107.4 kB / 0.7765 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007939/0.7521, allocations: 10.96 MB / 0.7872 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7521, allocations: 15.22 kB / 0.7872 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009657/0.7617, allocations: 11.14 MB / 0.7981 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.7634, allocations: 1.031 MB / 0.7991 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/0.7637, allocations: 95.98 kB / 0.7992 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.7649, allocations: 225.4 kB / 0.7994 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/0.7652, allocations: 352.8 kB / 0.7998 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.7654, allocations: 144 kB / 0.7999 GB, free: 166 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002591/0.768, allocations: 2.951 MB / 0.8028 GB, free: 163 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.768, allocations: 0 / 0.8028 GB, free: 163 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003735/0.7718, allocations: 1.713 MB / 0.8045 GB, free: 161.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009897/0.7728, allocations: 0.5561 MB / 0.805 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007237/0.78, allocations: 7.663 MB / 0.8125 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.78, allocations: 0 / 0.8125 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003499/0.7835, allocations: 3.684 MB / 0.8161 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.7862, allocations: 0.9528 MB / 0.817 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.8045, allocations: 17.94 MB / 0.8345 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/0.8081, allocations: 5.884 MB / 0.8403 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.8093, allocations: 456.4 kB / 0.8407 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.8093, allocations: 0 / 0.8407 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.2922/1.102, allocations: 231.6 MB / 1.067 GB, free: 111.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.156802451238036] Failed to read output from testmodel.py, exit status != 0: 1.1071555316448212 1.1139143870000001 0.811938191 Calling exit ...