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.001095/0.001095, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8953/0.8953, allocations: 177.2 MB / 199.4 MB, free: 5.934 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.001374/0.001374, allocations: 156.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.02332/0.02332, allocations: 6.664 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_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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.379e-05, allocations: 2.281 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.008574/0.008598, allocations: 12.05 MB / 457.5 MB, free: 25.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008661/0.01726, allocations: 4.373 MB / 461.8 MB, free: 21.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.02015, allocations: 111.3 kB / 461.9 MB, free: 21.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.02295, allocations: 1.052 MB / 463 MB, free: 19.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.02695, allocations: 1.327 MB / 464.3 MB, free: 18.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.0287, allocations: 0.896 MB / 465.2 MB, free: 17.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.03248, allocations: 4.283 MB / 469.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.03474, allocations: 1.898 MB / 471.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.03918, allocations: 2.916 MB / 474.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.04187, allocations: 1.804 MB / 476.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009058/0.04278, allocations: 0.5234 MB / 476.6 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.04425, allocations: 0.7301 MB / 477.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007795/0.04503, allocations: 1.18 MB / 478.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.04659, allocations: 1.481 MB / 480 MB, free: 2.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.05271, allocations: 7 MB / 487 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.05272, allocations: 4 kB / 487 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.05272, allocations: 0 / 487 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002062/0.05293, allocations: 3.938 kB / 487 MB, free: 11.78 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.01023/0.06316, allocations: 4.436 MB / 491.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/0.06323, allocations: 8.031 kB / 491.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009551/0.06418, allocations: 0.5227 MB / 492 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.06672, allocations: 0.8261 MB / 492.8 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.07078, allocations: 2.418 MB / 495.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.07095, allocations: 251.1 kB / 495.5 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006706/0.07162, allocations: 340.3 kB / 495.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008139/0.07976, allocations: 4.666 MB / 0.4888 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/0.07982, allocations: 11.88 kB / 0.4888 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/0.08013, allocations: 140 kB / 0.4889 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.08025, allocations: 166.7 kB / 0.4891 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005571/0.08582, allocations: 3.805 MB / 0.4928 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.1029, allocations: 12.59 MB / 0.5051 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.1065, allocations: 2.4 MB / 0.5074 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.108, allocations: 1.103 MB / 0.5085 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005055/0.1131, allocations: 2.824 MB / 0.5113 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1133, allocations: 43.56 kB / 0.5113 GB, free: 6.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 4.929e-06/0.1133, allocations: 0 / 0.5113 GB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.01052/0.1238, allocations: 4.668 MB / 0.5159 GB, free: 2.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.1239, allocations: 64.41 kB / 0.5159 GB, free: 1.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.1262, allocations: 1.73 MB / 0.5176 GB, free: 204 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/0.1263, allocations: 49.7 kB / 0.5177 GB, free: 148 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008075/0.1271, allocations: 1.543 MB / 0.5192 GB, free: 14.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.1273, allocations: 436.3 kB / 0.5196 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.1277, allocations: 287.5 kB / 0.5198 GB, free: 13.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.1277, allocations: 301.1 kB / 0.5201 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.1285, allocations: 0.6246 MB / 0.5207 GB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.1297, allocations: 1.156 MB / 0.5219 GB, free: 11.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.1315, allocations: 1.884 MB / 0.5237 GB, free: 9.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.1315, allocations: 4 kB / 0.5237 GB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002781/0.1343, allocations: 2.135 MB / 0.5258 GB, free: 7.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.1343, allocations: 14.81 kB / 0.5258 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.1344, allocations: 16 kB / 0.5258 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.1347, allocations: 138.9 kB / 0.526 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.1355, allocations: 387.4 kB / 0.5263 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.1382, allocations: 3.158 MB / 0.5294 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.1393, allocations: 75.8 kB / 0.5295 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.1394, allocations: 76.2 kB / 0.5296 GB, free: 3.211 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.00171/0.1411, allocations: 1.044 MB / 0.5306 GB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.1414, allocations: 190.8 kB / 0.5308 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.1437, allocations: 1.88 MB / 0.5326 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.1437, allocations: 12 kB / 0.5326 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.1438, allocations: 8 kB / 0.5326 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1438, allocations: 7.984 kB / 0.5326 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/0.1498, allocations: 4.347 MB / 0.5369 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1498, allocations: 0 / 0.5369 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.1502, allocations: 171.7 kB / 0.537 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.151, allocations: 448.1 kB / 0.5375 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.151, allocations: 35.98 kB / 0.5375 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00815/0.1592, allocations: 10.44 MB / 0.5477 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1592, allocations: 7.969 kB / 0.5477 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.163, allocations: 2.708 MB / 0.5503 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.1638, allocations: 342.6 kB / 0.5507 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.164, allocations: 31.94 kB / 0.5507 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.1645, allocations: 55.95 kB / 0.5508 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.1647, allocations: 100.8 kB / 0.5509 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.1648, allocations: 35.98 kB / 0.5509 GB, free: 12.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001361/0.1661, allocations: 1.163 MB / 0.552 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1661, allocations: 0 / 0.552 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001743/0.1679, allocations: 0.5508 MB / 0.5526 GB, free: 10.9 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.003547/0.1714, allocations: 3.319 MB / 0.5558 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.1744, allocations: 1.71 MB / 0.5575 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1744, allocations: 0 / 0.5575 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.1759, allocations: 1.437 MB / 0.5589 GB, free: 4.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.1776, allocations: 0.543 MB / 0.5594 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/0.3901, allocations: 18.79 MB / 0.5778 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.3916, allocations: 1.816 MB / 0.5795 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.3926, allocations: 395.8 kB / 0.5799 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/0.3935, allocations: 1.152 MB / 0.581 GB, free: 108.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3935, allocations: 0 / 0.581 GB, free: 108.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/0.4671, allocations: 55.06 MB / 0.6348 GB, free: 54.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/9.107, allocations: 8 kB / 0.6348 GB, free: 54.05 MB / 426.7 MB " [Timeout remaining time 651] (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: 11.490118728019297] Failed to read output from testmodel.py, exit status != 0: 9.217499801889062 9.223906453 9.169458573 Calling exit ...