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.001777/0.001777, allocations: 107 kB / 16.45 MB, free: 6.02 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.502/1.502, allocations: 230.6 MB / 249.8 MB, free: 9.188 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.001727/0.001727, allocations: 213.9 kB / 306 MB, free: 4.281 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.04399/0.04399, allocations: 8.901 MB / 371 MB, free: 3.422 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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_DOL,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [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.002506/0.002506, allocations: 91.86 kB / 495.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3342, allocations: 55.55 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03253/0.3668, allocations: 39.13 MB / 0.5766 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03123/0.398, allocations: 10.35 MB / 0.5867 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.4106, allocations: 360.3 kB / 0.587 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02703/0.4377, allocations: 10.28 MB / 0.5971 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01954/0.4572, allocations: 4.143 MB / 0.6011 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.4679, allocations: 2.418 MB / 0.6035 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03035/0.4982, allocations: 16.54 MB / 0.6196 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05472/0.5529, allocations: 23.67 MB / 0.6428 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0199/0.5728, allocations: 8.665 MB / 0.6512 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/0.593, allocations: 9.593 MB / 0.6606 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009118/0.6021, allocations: 2.418 MB / 0.663 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.6176, allocations: 2.843 MB / 0.6657 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01169/0.6293, allocations: 4.824 MB / 0.6704 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0253/0.6546, allocations: 9.21 MB / 0.6794 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6604/1.315, allocations: 32.22 MB / 0.7109 GB, free: 58.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.315, allocations: 0.8438 kB / 0.7109 GB, free: 58.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/1.315, allocations: 0 / 0.7109 GB, free: 58.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001326/1.316, allocations: 0.8438 kB / 0.7109 GB, free: 58.56 MB / 494.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.08283/1.399, allocations: 19.08 MB / 0.7295 GB, free: 50.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.15e-05/1.399, allocations: 9.781 kB / 0.7295 GB, free: 50.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01271/1.412, allocations: 2.013 MB / 0.7315 GB, free: 49.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05184/1.464, allocations: 8.284 MB / 0.7396 GB, free: 46.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02948/1.493, allocations: 10.3 MB / 0.7497 GB, free: 39.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/1.495, allocations: 1.058 MB / 0.7507 GB, free: 39.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008852/1.503, allocations: 1.404 MB / 0.7521 GB, free: 38.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06997/1.573, allocations: 22.79 MB / 0.7743 GB, free: 16.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006672/1.574, allocations: 19.38 kB / 0.7743 GB, free: 16.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007617/1.582, allocations: 0.5762 MB / 0.7749 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007788/1.582, allocations: 0.7832 MB / 0.7757 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05411/1.637, allocations: 21.06 MB / 0.7962 GB, free: 10 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1688/1.805, allocations: 72.88 MB / 0.8674 GB, free: 0.7031 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04435/1.85, allocations: 42.12 MB / 0.9085 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/1.86, allocations: 4.747 MB / 0.9132 GB, free: 12.9 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3377/2.198, allocations: 13.04 MB / 0.9259 GB, free: 231.4 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/2.198, allocations: 86.45 kB / 0.926 GB, free: 231.4 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=498): time 7.764e-06/2.198, allocations: 0 / 0.926 GB, free: 231.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=506): time 0.07124/2.269, allocations: 26.7 MB / 0.9521 GB, free: 224.7 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/2.269, allocations: 133.5 kB / 0.9522 GB, free: 224.6 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/2.28, allocations: 5.803 MB / 0.9579 GB, free: 222.5 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/2.281, allocations: 112.4 kB / 0.958 GB, free: 222.4 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003836/2.285, allocations: 6.371 MB / 0.9642 GB, free: 217.6 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002457/2.288, allocations: 1.813 MB / 0.966 GB, free: 216.2 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002594/2.29, allocations: 1.483 MB / 0.9674 GB, free: 215.5 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/2.29, allocations: 305.1 kB / 0.9677 GB, free: 215.2 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005296/2.295, allocations: 3.642 MB / 0.9713 GB, free: 213.8 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/2.303, allocations: 6.482 MB / 0.9776 GB, free: 208.7 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/2.317, allocations: 10.79 MB / 0.9881 GB, free: 200.6 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/2.317, allocations: 24 kB / 0.9881 GB, free: 200.6 MB / 0.6232 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02443/2.341, allocations: 12.11 MB / 1 GB, free: 190 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/2.341, allocations: 48.88 kB / 1 GB, free: 190 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/2.342, allocations: 96.56 kB / 1 GB, free: 189.9 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/2.346, allocations: 1.598 MB / 1.002 GB, free: 188.7 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006994/2.353, allocations: 1.676 MB / 1.003 GB, free: 187.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/2.375, allocations: 19.66 MB / 1.023 GB, free: 167.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008475/2.383, allocations: 435.4 kB / 1.023 GB, free: 167.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/2.385, allocations: 375.9 kB / 1.023 GB, free: 166.7 MB / 0.6232 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.01166/2.397, allocations: 5.189 MB / 1.028 GB, free: 161.5 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/2.399, allocations: 0.6288 MB / 1.029 GB, free: 160.9 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/2.415, allocations: 9.319 MB / 1.038 GB, free: 151.5 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008679/2.424, allocations: 5.86 MB / 1.044 GB, free: 145.6 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-05/2.424, allocations: 23.88 kB / 1.044 GB, free: 145.6 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.972e-05/2.424, allocations: 23.91 kB / 1.044 GB, free: 145.5 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04047/2.465, allocations: 21.02 MB / 1.064 GB, free: 124.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/2.465, allocations: 8 kB / 1.064 GB, free: 124.4 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/2.468, allocations: 0.8705 MB / 1.065 GB, free: 123.6 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004636/2.473, allocations: 1.646 MB / 1.067 GB, free: 121.9 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007731/2.474, allocations: 128 kB / 1.067 GB, free: 121.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.495, allocations: 23.25 MB / 1.09 GB, free: 97.57 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/2.495, allocations: 11.94 kB / 1.09 GB, free: 97.56 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/2.514, allocations: 13.74 MB / 1.103 GB, free: 83.46 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003767/2.518, allocations: 1.399 MB / 1.104 GB, free: 82.04 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.519, allocations: 104 kB / 1.105 GB, free: 81.94 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/2.522, allocations: 285.7 kB / 1.105 GB, free: 81.66 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009398/2.523, allocations: 417.8 kB / 1.105 GB, free: 81.26 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/2.524, allocations: 163.9 kB / 1.105 GB, free: 81.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.005754/2.529, allocations: 3.904 MB / 1.109 GB, free: 77.22 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8.1e-08/2.529, allocations: 0 / 1.109 GB, free: 77.22 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01147/2.541, allocations: 2.34 MB / 1.111 GB, free: 74.88 MB / 0.6232 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.02169/2.563, allocations: 14.52 MB / 1.126 GB, free: 60 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0161/2.579, allocations: 9.541 MB / 1.135 GB, free: 50.37 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/2.579, allocations: 0 / 1.135 GB, free: 50.37 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.008705/2.587, allocations: 5.153 MB / 1.14 GB, free: 45.13 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/2.599, allocations: 1.644 MB / 1.142 GB, free: 43.52 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4641/3.063, allocations: 80.22 MB / 1.22 GB, free: 208.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02105/3.084, allocations: 8.858 MB / 1.229 GB, free: 201.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008603/3.093, allocations: 2.533 MB / 1.231 GB, free: 198.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/3.103, allocations: 5.197 MB / 1.236 GB, free: 193.3 MB / 0.6232 GB Notification: Performance of SimCode: time 1.593e-06/3.103, allocations: 0 / 1.236 GB, free: 193.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6172/3.72, allocations: 189.7 MB / 1.421 GB, free: 199 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.11/29.83, allocations: 8.375 kB / 1.421 GB, free: 199 MB / 0.6232 GB " [Timeout remaining time 630] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_DOL.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.473200972002815] Failed to read output from testmodel.py, exit status != 0: 30.023753246001434 30.037405413 28.7190783 Calling exit ...