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.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.001485/0.001485, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.624/1.624, allocations: 230.6 MB / 252.7 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.001924/0.001924, allocations: 219.7 kB / 309.2 MB, free: 2.961 MB / 238.1 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.04331/0.04331, allocations: 8.924 MB / 374.6 MB, free: 1.73 MB / 302.1 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_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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 82.05 kB / 0.4896 GB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.139, allocations: 55.62 MB / 0.5439 GB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.04802/0.187, allocations: 33.44 MB / 0.5766 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.2178, allocations: 10.03 MB / 0.5864 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009806/0.2276, allocations: 358 kB / 0.5867 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02722/0.2548, allocations: 9.552 MB / 0.5961 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01881/0.2736, allocations: 4.144 MB / 0.6001 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01148/0.2851, allocations: 2.422 MB / 0.6025 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03116/0.3163, allocations: 16.65 MB / 0.6187 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0536/0.3699, allocations: 20.31 MB / 0.6386 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01914/0.389, allocations: 8.728 MB / 0.6471 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01983/0.4088, allocations: 9.206 MB / 0.6561 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.592/1.001, allocations: 2.412 MB / 0.6584 GB, free: 35.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/1.014, allocations: 2.807 MB / 0.6612 GB, free: 35.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01082/1.025, allocations: 4.825 MB / 0.6659 GB, free: 35.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02345/1.048, allocations: 7.173 MB / 0.6729 GB, free: 35.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04423/1.093, allocations: 32.36 MB / 0.7045 GB, free: 24.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.093, allocations: 2.781 kB / 0.7045 GB, free: 24.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/1.093, allocations: 0 / 0.7045 GB, free: 24.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001166/1.094, allocations: 0 / 0.7045 GB, free: 24.34 MB / 462.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.06883/1.163, allocations: 19 MB / 0.723 GB, free: 12.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.163, allocations: 7.875 kB / 0.7231 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04613/1.209, allocations: 8.274 MB / 0.7311 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/1.234, allocations: 10.36 MB / 0.7413 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/1.236, allocations: 1.057 MB / 0.7423 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007982/1.244, allocations: 1.404 MB / 0.7437 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08459/1.329, allocations: 23.1 MB / 0.7662 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007935/1.329, allocations: 11.95 kB / 0.7662 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006661/1.336, allocations: 0.5812 MB / 0.7668 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/1.337, allocations: 0.7754 MB / 0.7675 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06227/1.399, allocations: 20.99 MB / 0.788 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1754/1.575, allocations: 63.02 MB / 0.8496 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02994/1.605, allocations: 13.88 MB / 0.8631 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.616, allocations: 4.728 MB / 0.8678 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03393/1.649, allocations: 11.42 MB / 0.8789 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/1.65, allocations: 86.77 kB / 0.879 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 9.497e-06/1.65, allocations: 0 / 0.879 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.4003/2.05, allocations: 25.91 MB / 0.9043 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/2.05, allocations: 131.8 kB / 0.9044 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009443/2.059, allocations: 5.521 MB / 0.9098 GB, free: 191 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/2.061, allocations: 114.3 kB / 0.9099 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003943/2.065, allocations: 6.389 MB / 0.9162 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002454/2.067, allocations: 1.81 MB / 0.9179 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002734/2.07, allocations: 1.482 MB / 0.9194 GB, free: 184 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/2.07, allocations: 305.1 kB / 0.9197 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005186/2.075, allocations: 3.646 MB / 0.9232 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007408/2.082, allocations: 6.536 MB / 0.9296 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/2.095, allocations: 10.78 MB / 0.9401 GB, free: 170 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/2.095, allocations: 26 kB / 0.9402 GB, free: 170 MB / 0.5919 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02179/2.117, allocations: 12 MB / 0.9519 GB, free: 160 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/2.117, allocations: 44 kB / 0.9519 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/2.117, allocations: 100 kB / 0.952 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/2.121, allocations: 1.597 MB / 0.9536 GB, free: 158.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/2.128, allocations: 1.67 MB / 0.9552 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/2.15, allocations: 18.76 MB / 0.9735 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008483/2.159, allocations: 429.6 kB / 0.9739 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00239/2.161, allocations: 371.9 kB / 0.9743 GB, free: 138.5 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.01394/2.175, allocations: 5.188 MB / 0.9794 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002775/2.178, allocations: 0.6054 MB / 0.98 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/2.197, allocations: 9.137 MB / 0.9889 GB, free: 123.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01105/2.208, allocations: 5.86 MB / 0.9946 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-05/2.208, allocations: 16 kB / 0.9946 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/2.208, allocations: 27.91 kB / 0.9946 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04868/2.257, allocations: 17.99 MB / 1.012 GB, free: 99.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/2.257, allocations: 8.781 kB / 1.012 GB, free: 99.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004141/2.261, allocations: 0.8737 MB / 1.013 GB, free: 98.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004891/2.266, allocations: 1.638 MB / 1.015 GB, free: 97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/2.267, allocations: 131.9 kB / 1.015 GB, free: 96.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/2.291, allocations: 22.04 MB / 1.036 GB, free: 74.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/2.291, allocations: 8 kB / 1.036 GB, free: 74.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/2.313, allocations: 13.55 MB / 1.05 GB, free: 60.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00481/2.318, allocations: 1.308 MB / 1.051 GB, free: 58.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002534/2.32, allocations: 104 kB / 1.051 GB, free: 58.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004774/2.325, allocations: 279.7 kB / 1.051 GB, free: 58.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.326, allocations: 444.2 kB / 1.052 GB, free: 58.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/2.327, allocations: 160 kB / 1.052 GB, free: 57.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007355/2.334, allocations: 3.594 MB / 1.055 GB, free: 54.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.334, allocations: 0 / 1.055 GB, free: 54.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01423/2.348, allocations: 2.332 MB / 1.058 GB, free: 52.09 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,5,100.0%), (1,8,100.0%), (1,13,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.001973/2.35, allocations: 321 kB / 1.058 GB, free: 51.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01837/2.369, allocations: 9.457 MB / 1.067 GB, free: 42.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/2.369, allocations: 4 kB / 1.067 GB, free: 42.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/2.379, allocations: 5.157 MB / 1.072 GB, free: 36.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/2.392, allocations: 1.434 MB / 1.074 GB, free: 35.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05912/2.451, allocations: 25.06 MB / 1.098 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02139/2.472, allocations: 8.493 MB / 1.106 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.3125/2.785, allocations: 2.483 MB / 1.109 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002884/2.788, allocations: 465.2 kB / 1.109 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.603e-06/2.788, allocations: 0 / 1.109 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1703/2.958, allocations: 103.8 MB / 1.211 GB, free: 105.4 MB / 0.5919 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: 11.216336889192462] Failed to read output from testmodel.py, exit status != 0: 2.9690067060291767 2.987859638 1.890903269 Calling exit ...