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.001767/0.001767, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.459/1.459, allocations: 230.6 MB / 252.7 MB, free: 8.305 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.001602/0.001602, allocations: 207 kB / 309.2 MB, free: 3.148 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.04153/0.04153, allocations: 8.917 MB / 374.6 MB, free: 1.898 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.002562/0.002562, allocations: 83.88 kB / 0.4892 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3175, allocations: 55.6 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03333/0.3508, allocations: 39.2 MB / 0.5818 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.3767, allocations: 10.37 MB / 0.5919 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008272/0.385, allocations: 360.7 kB / 0.5923 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02585/0.4108, allocations: 10.32 MB / 0.6024 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01816/0.429, allocations: 4.226 MB / 0.6065 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009432/0.4384, allocations: 2.485 MB / 0.6089 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0285/0.4669, allocations: 16.66 MB / 0.6252 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04313/0.5101, allocations: 20.59 MB / 0.6453 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01677/0.5268, allocations: 8.72 MB / 0.6538 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02011/0.5469, allocations: 9.613 MB / 0.6632 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007927/0.5549, allocations: 2.418 MB / 0.6655 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.5657, allocations: 2.847 MB / 0.6683 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009593/0.5753, allocations: 4.832 MB / 0.673 GB, free: 8.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02014/0.5955, allocations: 9.214 MB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3306/0.926, allocations: 32.23 MB / 0.7135 GB, free: 56.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.926, allocations: 0 / 0.7135 GB, free: 56.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.926, allocations: 0.8125 kB / 0.7135 GB, free: 56.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001105/0.9271, allocations: 0 / 0.7135 GB, free: 56.91 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.07026/0.9974, allocations: 19 MB / 0.7321 GB, free: 48.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.9975, allocations: 14.58 kB / 0.7321 GB, free: 48.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01108/1.009, allocations: 2.014 MB / 0.7341 GB, free: 48.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04996/1.058, allocations: 8.279 MB / 0.7421 GB, free: 44.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0262/1.085, allocations: 10.39 MB / 0.7523 GB, free: 38.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/1.086, allocations: 1.056 MB / 0.7533 GB, free: 38.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008166/1.094, allocations: 1.396 MB / 0.7547 GB, free: 37.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06656/1.161, allocations: 22.79 MB / 0.7769 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008238/1.162, allocations: 22.75 kB / 0.777 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008174/1.17, allocations: 0.5762 MB / 0.7775 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008525/1.171, allocations: 0.7793 MB / 0.7783 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05203/1.223, allocations: 21.06 MB / 0.7989 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/1.39, allocations: 71.08 MB / 0.8683 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03816/1.429, allocations: 13.98 MB / 0.8819 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01478/1.443, allocations: 4.732 MB / 0.8865 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04859/1.492, allocations: 12.67 MB / 0.8989 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/1.492, allocations: 94.23 kB / 0.899 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=498): time 1.027e-05/1.492, allocations: 0 / 0.899 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=506): time 0.3775/1.87, allocations: 25.94 MB / 0.9243 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/1.87, allocations: 127.1 kB / 0.9245 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.882, allocations: 5.799 MB / 0.9301 GB, free: 213 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.883, allocations: 107.7 kB / 0.9302 GB, free: 212.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004243/1.887, allocations: 6.378 MB / 0.9365 GB, free: 208.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/1.889, allocations: 1.813 MB / 0.9382 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003643/1.893, allocations: 1.487 MB / 0.9397 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/1.893, allocations: 302.3 kB / 0.94 GB, free: 206.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006407/1.9, allocations: 3.639 MB / 0.9435 GB, free: 205 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009616/1.909, allocations: 6.483 MB / 0.9499 GB, free: 200 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/1.924, allocations: 10.79 MB / 0.9604 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.924, allocations: 25.19 kB / 0.9604 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0252/1.949, allocations: 12.04 MB / 0.9722 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/1.949, allocations: 48.69 kB / 0.9722 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.949, allocations: 92 kB / 0.9723 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004414/1.954, allocations: 1.603 MB / 0.9739 GB, free: 187.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006492/1.96, allocations: 1.672 MB / 0.9755 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/1.98, allocations: 19.16 MB / 0.9942 GB, free: 171.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006939/1.987, allocations: 423 kB / 0.9946 GB, free: 171 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/1.989, allocations: 375.3 kB / 0.995 GB, free: 170.7 MB / 0.6075 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.009383/1.998, allocations: 5.193 MB / 1 GB, free: 166.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/2, allocations: 0.6327 MB / 1.001 GB, free: 165.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/2.016, allocations: 9.17 MB / 1.01 GB, free: 156.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009122/2.025, allocations: 5.858 MB / 1.015 GB, free: 150.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.923e-05/2.025, allocations: 20 kB / 1.015 GB, free: 150.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.07e-05/2.026, allocations: 31.89 kB / 1.015 GB, free: 150.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03962/2.065, allocations: 20.94 MB / 1.036 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/2.065, allocations: 4.781 kB / 1.036 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/2.069, allocations: 0.8737 MB / 1.037 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004509/2.073, allocations: 1.635 MB / 1.038 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/2.075, allocations: 127.9 kB / 1.038 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/2.096, allocations: 22.54 MB / 1.06 GB, free: 103.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/2.096, allocations: 11.94 kB / 1.06 GB, free: 103.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/2.116, allocations: 13.58 MB / 1.074 GB, free: 89.42 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004806/2.121, allocations: 1.351 MB / 1.075 GB, free: 88.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003127/2.124, allocations: 104.1 kB / 1.075 GB, free: 87.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005046/2.129, allocations: 287.7 kB / 1.075 GB, free: 87.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/2.131, allocations: 444.1 kB / 1.076 GB, free: 87.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005793/2.131, allocations: 156 kB / 1.076 GB, free: 87.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00698/2.138, allocations: 3.912 MB / 1.08 GB, free: 83.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/2.138, allocations: 1.969 kB / 1.08 GB, free: 83.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01235/2.151, allocations: 2.34 MB / 1.082 GB, free: 80.88 MB / 0.6075 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.02261/2.173, allocations: 14.35 MB / 1.096 GB, free: 66.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01683/2.19, allocations: 9.469 MB / 1.105 GB, free: 56.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.19, allocations: 0 / 1.105 GB, free: 56.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008305/2.198, allocations: 5.163 MB / 1.11 GB, free: 51.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/2.209, allocations: 1.653 MB / 1.112 GB, free: 49.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4144/2.623, allocations: 80.24 MB / 1.19 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01678/2.64, allocations: 8.869 MB / 1.199 GB, free: 196.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01057/2.651, allocations: 2.543 MB / 1.201 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009402/2.66, allocations: 5.194 MB / 1.207 GB, free: 192 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/2.66, allocations: 0 / 1.207 GB, free: 192 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5619/3.222, allocations: 196.4 MB / 1.398 GB, free: 156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.09/30.31, allocations: 2.688 kB / 1.398 GB, free: 156 MB / 0.6075 GB " [Timeout remaining time 629] (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.855864909004595] Failed to read output from testmodel.py, exit status != 0: 30.534686330000113 30.563247817 29.631316373 Calling exit ...