Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001381/0.001381, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9391/0.9391, allocations: 177.1 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001573/0.001573, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02241/0.02241, allocations: 6.665 MB / 319 MB, free: 26.77 MB / 266.7 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_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.235e-05, allocations: 5.094 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.007943/0.007965, allocations: 12.07 MB / 457.5 MB, free: 25.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.01462, allocations: 4.373 MB / 461.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.01623, allocations: 107.3 kB / 462 MB, free: 20.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.01827, allocations: 1.056 MB / 463 MB, free: 19.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.02072, allocations: 1.334 MB / 464.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.02204, allocations: 0.8868 MB / 465.3 MB, free: 17.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.02496, allocations: 4.279 MB / 469.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.02665, allocations: 1.91 MB / 471.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.02925, allocations: 2.909 MB / 474.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.03086, allocations: 1.804 MB / 476.2 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005884/0.03145, allocations: 0.5273 MB / 476.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.03227, allocations: 0.7301 MB / 477.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.03271, allocations: 1.18 MB / 478.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.03397, allocations: 1.473 MB / 480.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.03812, allocations: 7.004 MB / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.03812, allocations: 0 / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03813, allocations: 0 / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001902/0.03832, allocations: 0 / 487.1 MB, free: 11.75 MB / 346.7 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.006932/0.04525, allocations: 4.448 MB / 491.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.04529, allocations: 12.03 kB / 491.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005689/0.04586, allocations: 0.5189 MB / 492 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.04806, allocations: 0.826 MB / 492.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.05088, allocations: 2.422 MB / 495.3 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.05101, allocations: 251.1 kB / 495.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.05135, allocations: 332.3 kB / 495.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.0565, allocations: 4.674 MB / 0.4888 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/0.05655, allocations: 0 / 0.4888 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.05678, allocations: 135.9 kB / 0.4889 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.05691, allocations: 162.7 kB / 0.4891 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.06121, allocations: 3.809 MB / 0.4928 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.07371, allocations: 12.6 MB / 0.5051 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.07673, allocations: 2.393 MB / 0.5074 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.07796, allocations: 1.116 MB / 0.5085 GB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/0.08119, allocations: 2.812 MB / 0.5113 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.08122, allocations: 47.56 kB / 0.5113 GB, free: 6.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 2.314e-06/0.08122, allocations: 0 / 0.5113 GB, free: 6.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.007178/0.0884, allocations: 4.672 MB / 0.5159 GB, free: 1.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.08845, allocations: 68.41 kB / 0.516 GB, free: 1.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.09044, allocations: 1.738 MB / 0.5177 GB, free: 152 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.09058, allocations: 45.7 kB / 0.5177 GB, free: 100 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/0.09138, allocations: 1.54 MB / 0.5192 GB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.09166, allocations: 436.3 kB / 0.5196 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.092, allocations: 287.5 kB / 0.5199 GB, free: 13.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.09207, allocations: 305.1 kB / 0.5202 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.09283, allocations: 0.6247 MB / 0.5208 GB, free: 12.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.09385, allocations: 1.164 MB / 0.5219 GB, free: 11.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.09571, allocations: 1.873 MB / 0.5238 GB, free: 9.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.09572, allocations: 4 kB / 0.5238 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002624/0.09834, allocations: 2.127 MB / 0.5258 GB, free: 7.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.09838, allocations: 19.12 kB / 0.5259 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.0984, allocations: 20 kB / 0.5259 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.09868, allocations: 134.5 kB / 0.526 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.09949, allocations: 391.4 kB / 0.5264 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.1014, allocations: 3.151 MB / 0.5295 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.1025, allocations: 84.06 kB / 0.5295 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.795e-05/0.1026, allocations: 68 kB / 0.5296 GB, free: 3.176 MB / 394.7 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.001479/0.1041, allocations: 1.049 MB / 0.5306 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.1043, allocations: 194.8 kB / 0.5308 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1067, allocations: 1.88 MB / 0.5326 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1067, allocations: 12 kB / 0.5327 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1067, allocations: 8 kB / 0.5327 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.1067, allocations: 8.031 kB / 0.5327 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.1121, allocations: 4.343 MB / 0.5369 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1122, allocations: 7.938 kB / 0.5369 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.1126, allocations: 167.9 kB / 0.5371 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000744/0.1133, allocations: 445.6 kB / 0.5375 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.1134, allocations: 39.98 kB / 0.5375 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007678/0.1211, allocations: 10.44 MB / 0.5477 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1211, allocations: 0 / 0.5477 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.1246, allocations: 2.724 MB / 0.5504 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.1253, allocations: 330.6 kB / 0.5507 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.1255, allocations: 35.92 kB / 0.5507 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.1259, allocations: 59.95 kB / 0.5508 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.1261, allocations: 96.81 kB / 0.5509 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.1262, allocations: 43.98 kB / 0.5509 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001296/0.1275, allocations: 1.163 MB / 0.5521 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1275, allocations: 0 / 0.5521 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001827/0.1293, allocations: 0.543 MB / 0.5526 GB, free: 10.87 MB / 426.7 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.003341/0.1327, allocations: 3.323 MB / 0.5558 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.1349, allocations: 1.701 MB / 0.5575 GB, free: 5.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.1349, allocations: 4 kB / 0.5575 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.1365, allocations: 1.434 MB / 0.5589 GB, free: 4.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.1386, allocations: 0.5532 MB / 0.5595 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1932/0.3319, allocations: 18.79 MB / 0.5778 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/0.3337, allocations: 1.816 MB / 0.5796 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.3348, allocations: 399 kB / 0.58 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000857/0.3356, allocations: 1.152 MB / 0.5811 GB, free: 108.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3356, allocations: 0 / 0.5811 GB, free: 108.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/0.3995, allocations: 55.06 MB / 0.6349 GB, free: 53.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.715, allocations: 0 / 0.6349 GB, free: 53.89 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.522557250224054] Failed to read output from testmodel.py, exit status != 0: 8.825079385191202 8.835352323 8.795305857 Calling exit ...