Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001383/0.001383, allocations: 102.1 kB / 16.45 MB, free: 6.5 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.471/1.471, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001796/0.001796, allocations: 218.8 kB / 306 MB, free: 4.316 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.04118/0.04118, allocations: 8.904 MB / 371 MB, free: 3.457 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_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",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.002578/0.002578, allocations: 79.89 kB / 495.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3407, allocations: 55.57 MB / 0.5384 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.0125/0.3532, allocations: 13.82 MB / 0.5519 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3643, allocations: 4.615 MB / 0.5564 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.3683, allocations: 108.6 kB / 0.5565 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003498/0.3718, allocations: 1.095 MB / 0.5576 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.3773, allocations: 1.311 MB / 0.5588 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.3803, allocations: 0.9157 MB / 0.5597 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005971/0.3863, allocations: 4.077 MB / 0.5637 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.3898, allocations: 2.483 MB / 0.5661 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.3935, allocations: 1.983 MB / 0.5681 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.3985, allocations: 2.282 MB / 0.5703 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.4003, allocations: 0.5326 MB / 0.5708 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.4034, allocations: 0.7462 MB / 0.5716 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.405, allocations: 1.155 MB / 0.5727 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004866/0.4099, allocations: 2.183 MB / 0.5748 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009634/0.4195, allocations: 6.946 MB / 0.5816 GB, free: 15.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.4195, allocations: 4 kB / 0.5816 GB, free: 15.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4195, allocations: 1.031 kB / 0.5816 GB, free: 15.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.4197, allocations: 0 / 0.5816 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01719/0.4369, allocations: 4.565 MB / 0.5861 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4369, allocations: 9.125 kB / 0.5861 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001859/0.4388, allocations: 0.5147 MB / 0.5866 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.4444, allocations: 0.829 MB / 0.5874 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006903/0.4513, allocations: 2.51 MB / 0.5898 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.4516, allocations: 254.8 kB / 0.5901 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.453, allocations: 339.9 kB / 0.5904 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.4658, allocations: 4.508 MB / 0.5948 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.4658, allocations: 4 kB / 0.5948 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.4662, allocations: 132 kB / 0.5949 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.4664, allocations: 162.7 kB / 0.5951 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008405/0.4748, allocations: 3.817 MB / 0.5988 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.5047, allocations: 14.19 MB / 0.6127 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/0.5129, allocations: 6.346 MB / 0.6189 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.5154, allocations: 1.106 MB / 0.6199 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007366/0.5228, allocations: 3.602 MB / 0.6235 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.5228, allocations: 43.56 kB / 0.6235 GB, free: 5.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.206e-06/0.5228, allocations: 0 / 0.6235 GB, free: 5.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01271/0.5356, allocations: 5.271 MB / 0.6287 GB, free: 15.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.5356, allocations: 64.41 kB / 0.6287 GB, free: 15.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.5391, allocations: 1.711 MB / 0.6304 GB, free: 13.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002921/0.5394, allocations: 49.7 kB / 0.6304 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5408, allocations: 1.54 MB / 0.6319 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/0.5414, allocations: 444.3 kB / 0.6324 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/0.5421, allocations: 283.5 kB / 0.6326 GB, free: 11.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5422, allocations: 313 kB / 0.6329 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.5435, allocations: 0.6208 MB / 0.6335 GB, free: 10.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.5452, allocations: 1.143 MB / 0.6347 GB, free: 9.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.5483, allocations: 1.872 MB / 0.6365 GB, free: 7.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.5483, allocations: 8 kB / 0.6365 GB, free: 7.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004443/0.5528, allocations: 2.199 MB / 0.6386 GB, free: 5.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.5528, allocations: 16.36 kB / 0.6387 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/0.5528, allocations: 20 kB / 0.6387 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.5533, allocations: 130.5 kB / 0.6388 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.5549, allocations: 395.4 kB / 0.6392 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.5582, allocations: 3.376 MB / 0.6425 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.56, allocations: 71.92 kB / 0.6425 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.5602, allocations: 75.92 kB / 0.6426 GB, free: 0.6641 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.5629, allocations: 1.049 MB / 0.6436 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/0.5634, allocations: 190.8 kB / 0.6438 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.5676, allocations: 2.033 MB / 0.6458 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.5677, allocations: 19.94 kB / 0.6458 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5677, allocations: 7.938 kB / 0.6458 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5677, allocations: 7.984 kB / 0.6458 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/0.5769, allocations: 4.783 MB / 0.6505 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5769, allocations: 0 / 0.6505 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.5777, allocations: 167.8 kB / 0.6507 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.5791, allocations: 448.1 kB / 0.6511 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.5792, allocations: 35.98 kB / 0.6511 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/0.5915, allocations: 11.06 MB / 0.6619 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5915, allocations: 64 / 0.6619 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/0.5972, allocations: 2.878 MB / 0.6647 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.5985, allocations: 407.7 kB / 0.6651 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/0.5989, allocations: 31.98 kB / 0.6652 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.5999, allocations: 63.95 kB / 0.6652 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.6002, allocations: 96.98 kB / 0.6653 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.6003, allocations: 35.98 kB / 0.6653 GB, free: 8.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002182/0.6025, allocations: 1.171 MB / 0.6665 GB, free: 7.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6025, allocations: 0 / 0.6665 GB, free: 7.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002817/0.6053, allocations: 0.5468 MB / 0.667 GB, free: 6.652 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (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,vfController.x,loadInertia.phi) * 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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006025/0.6113, allocations: 3.478 MB / 0.6704 GB, free: 3.074 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.615, allocations: 1.766 MB / 0.6721 GB, free: 1.266 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.615, allocations: 0 / 0.6721 GB, free: 1.266 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.6176, allocations: 1.443 MB / 0.6736 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.621, allocations: 0.5402 MB / 0.6741 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03948/0.6605, allocations: 19.01 MB / 0.6926 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.6632, allocations: 2.367 MB / 0.695 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001536/0.6648, allocations: 396.1 kB / 0.6953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.6665, allocations: 1.151 MB / 0.6965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.6665, allocations: 0 / 0.6965 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.397/1.064, allocations: 51.86 MB / 0.7471 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.56, allocations: 11.17 kB / 0.7471 GB, free: 123.1 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.946195124997757] Failed to read output from testmodel.py, exit status != 0: 14.678462530995603 14.688060059 14.26602065 Calling exit ...