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.001309/0.001309, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.413/1.413, allocations: 225.6 MB / 245.5 MB, free: 14.18 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.001438/0.001438, allocations: 187.8 kB / 300.5 MB, free: 9.824 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.04098/0.04098, allocations: 8.94 MB / 364.3 MB, free: 10.17 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.002409/0.002409, allocations: 82.33 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1307, allocations: 54.42 MB / 0.529 GB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04708/0.1778, allocations: 38.46 MB / 0.5665 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02668/0.2045, allocations: 10.06 MB / 0.5763 GB, free: 88 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009774/0.2142, allocations: 291.1 kB / 0.5766 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02541/0.2396, allocations: 10.27 MB / 0.5867 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.2561, allocations: 4.129 MB / 0.5907 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009022/0.2651, allocations: 2.39 MB / 0.593 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02667/0.2917, allocations: 16.38 MB / 0.609 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04649/0.3382, allocations: 23.67 MB / 0.6321 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.5532/0.8914, allocations: 8.506 MB / 0.6404 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02053/0.9119, allocations: 9.421 MB / 0.6496 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01025/0.9222, allocations: 2.417 MB / 0.652 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/0.9364, allocations: 2.815 MB / 0.6548 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01158/0.9479, allocations: 4.836 MB / 0.6595 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02418/0.9721, allocations: 9.195 MB / 0.6685 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04432/1.016, allocations: 32.18 MB / 0.6999 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.016, allocations: 6.062 kB / 0.6999 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.517e-06/1.016, allocations: 3.438 kB / 0.6999 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001313/1.018, allocations: 0 / 0.6999 GB, free: 0.9648 MB / 446.1 MB 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.07084/1.089, allocations: 19.02 MB / 0.7185 GB, free: 368 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.089, allocations: 8.031 kB / 0.7185 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04802/1.137, allocations: 8.375 MB / 0.7266 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02945/1.166, allocations: 10.24 MB / 0.7366 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001457/1.168, allocations: 1.057 MB / 0.7377 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007694/1.175, allocations: 1.407 MB / 0.739 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0694/1.245, allocations: 22.73 MB / 0.7612 GB, free: 4.965 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006458/1.245, allocations: 23.03 kB / 0.7613 GB, free: 4.945 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006181/1.251, allocations: 0.5821 MB / 0.7618 GB, free: 4.379 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/1.253, allocations: 0.7832 MB / 0.7626 GB, free: 3.594 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05714/1.31, allocations: 21.01 MB / 0.7831 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1552/1.465, allocations: 72.19 MB / 0.8536 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.422/1.887, allocations: 41.78 MB / 0.8944 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007938/1.895, allocations: 4.704 MB / 0.899 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02766/1.922, allocations: 12.71 MB / 0.9114 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.968e-05/1.923, allocations: 85.23 kB / 0.9115 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 6.703e-06/1.923, allocations: 0 / 0.9115 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.06305/1.986, allocations: 26.61 MB / 0.9375 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/1.986, allocations: 135.2 kB / 0.9376 GB, free: 153 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/2.001, allocations: 5.764 MB / 0.9432 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001456/2.002, allocations: 107.5 kB / 0.9434 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006032/2.008, allocations: 6.367 MB / 0.9496 GB, free: 146 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003639/2.012, allocations: 1.818 MB / 0.9513 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004957/2.017, allocations: 1.464 MB / 0.9528 GB, free: 143 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/2.017, allocations: 305.1 kB / 0.9531 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.027, allocations: 3.633 MB / 0.9566 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/2.041, allocations: 6.473 MB / 0.9629 GB, free: 132 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0219/2.062, allocations: 10.76 MB / 0.9734 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/2.063, allocations: 24 kB / 0.9735 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.04287/2.105, allocations: 12.08 MB / 0.9853 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/2.106, allocations: 44 kB / 0.9853 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/2.106, allocations: 95.98 kB / 0.9854 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/2.114, allocations: 1.606 MB / 0.987 GB, free: 106 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01235/2.126, allocations: 1.669 MB / 0.9886 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03519/2.161, allocations: 19.67 MB / 1.008 GB, free: 83.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/2.173, allocations: 435.7 kB / 1.008 GB, free: 83.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002402/2.175, allocations: 367.9 kB / 1.009 GB, free: 83.18 MB / 0.5919 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.01588/2.191, allocations: 5.19 MB / 1.014 GB, free: 77.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00257/2.194, allocations: 0.6288 MB / 1.014 GB, free: 77.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/2.213, allocations: 9.304 MB / 1.023 GB, free: 67.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01005/2.223, allocations: 5.837 MB / 1.029 GB, free: 62.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.507e-05/2.223, allocations: 23.94 kB / 1.029 GB, free: 62.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/2.223, allocations: 31.64 kB / 1.029 GB, free: 62.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04424/2.267, allocations: 20.94 MB / 1.05 GB, free: 40.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/2.267, allocations: 8 kB / 1.05 GB, free: 40.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003591/2.271, allocations: 0.862 MB / 1.05 GB, free: 40.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/2.275, allocations: 1.647 MB / 1.052 GB, free: 38.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008457/2.276, allocations: 127.9 kB / 1.052 GB, free: 38.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/2.298, allocations: 23.25 MB / 1.075 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.298, allocations: 16.03 kB / 1.075 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/2.317, allocations: 13.69 MB / 1.088 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3503/2.668, allocations: 1.387 MB / 1.09 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/2.67, allocations: 103.7 kB / 1.09 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005084/2.675, allocations: 286 kB / 1.09 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00166/2.677, allocations: 407.9 kB / 1.09 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005582/2.677, allocations: 154.4 kB / 1.09 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009302/2.686, allocations: 3.89 MB / 1.094 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/2.686, allocations: 0 / 1.094 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01207/2.699, allocations: 2.344 MB / 1.097 GB, free: 186.7 MB / 0.5919 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.001596/2.7, allocations: 318.7 kB / 1.097 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01543/2.716, allocations: 9.524 MB / 1.106 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/2.716, allocations: 3.969 kB / 1.106 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009094/2.725, allocations: 5.144 MB / 1.111 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/2.737, allocations: 1.631 MB / 1.113 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05488/2.792, allocations: 24.58 MB / 1.137 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/2.805, allocations: 8.564 MB / 1.145 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/2.808, allocations: 0.5096 MB / 1.146 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/2.808, allocations: 0 / 1.146 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of Templates: time 1.682/4.491, allocations: 0.6694 GB / 1.815 GB, free: 194.5 MB / 0.6232 GB " [Timeout remaining time 655] 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: 29.36587944900384] Failed to read output from testmodel.py, exit status != 0: 4.737355657009175 4.510335668 3.4912646609999998 Calling exit ...