Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.0017/0.0017, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.448/1.448, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001615/0.001615, allocations: 213.9 kB / 309.2 MB, free: 3.105 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.04091/0.04091, allocations: 8.933 MB / 374.6 MB, free: 6.559 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.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",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.002464/0.002464, allocations: 79.88 kB / 0.4891 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.08009, allocations: 55.61 MB / 0.5434 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.2302/0.3103, allocations: 23.25 MB / 0.5661 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3233, allocations: 7.862 MB / 0.5738 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.3278, allocations: 236.5 kB / 0.5741 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01911/0.3469, allocations: 8.724 MB / 0.5826 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.357, allocations: 3.371 MB / 0.5859 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005175/0.3621, allocations: 1.801 MB / 0.5876 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01495/0.3771, allocations: 12.39 MB / 0.5997 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0298/0.4069, allocations: 15.83 MB / 0.6152 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.4196, allocations: 6.643 MB / 0.6217 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.4322, allocations: 6.996 MB / 0.6285 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004759/0.4369, allocations: 1.832 MB / 0.6303 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.4441, allocations: 2.203 MB / 0.6324 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005808/0.45, allocations: 3.604 MB / 0.636 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01312/0.4631, allocations: 5.37 MB / 0.6412 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0299/0.493, allocations: 24.88 MB / 0.6655 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.493, allocations: 0 / 0.6655 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.493, allocations: 3.938 kB / 0.6655 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000556/0.4935, allocations: 0 / 0.6655 GB, free: 0.5469 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.043/0.5365, allocations: 14.67 MB / 0.6798 GB, free: 1.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5366, allocations: 19.97 kB / 0.6798 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005435/0.542, allocations: 1.788 MB / 0.6816 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04584/0.5879, allocations: 8.432 MB / 0.6898 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/0.6059, allocations: 7.809 MB / 0.6975 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.6069, allocations: 0.8067 MB / 0.6982 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005057/0.612, allocations: 1.051 MB / 0.6993 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0435/0.6555, allocations: 18.55 MB / 0.7174 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.6558, allocations: 15.89 kB / 0.7174 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/0.6581, allocations: 455.9 kB / 0.7178 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000735/0.6589, allocations: 0.6672 MB / 0.7185 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03818/0.6971, allocations: 17.49 MB / 0.7356 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4963/1.193, allocations: 52.11 MB / 0.7865 GB, free: 137.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02422/1.218, allocations: 12.67 MB / 0.7988 GB, free: 137.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005924/1.224, allocations: 3.727 MB / 0.8025 GB, free: 137.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/1.224, allocations: 126.5 kB / 0.8026 GB, free: 137.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/1.224, allocations: 89.44 kB / 0.8027 GB, free: 137.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=518): time 8.576e-06/1.224, allocations: 0 / 0.8027 GB, free: 137.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=524): time 0.0448/1.269, allocations: 21.3 MB / 0.8235 GB, free: 130.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.269, allocations: 115 kB / 0.8236 GB, free: 130.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/1.274, allocations: 4.267 MB / 0.8277 GB, free: 128.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008164/1.275, allocations: 112.5 kB / 0.8279 GB, free: 128.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002383/1.277, allocations: 4.678 MB / 0.8324 GB, free: 125.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.279, allocations: 1.872 MB / 0.8342 GB, free: 124.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001921/1.281, allocations: 1.368 MB / 0.8356 GB, free: 123.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/1.281, allocations: 301.1 kB / 0.8359 GB, free: 123.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.285, allocations: 3.435 MB / 0.8392 GB, free: 121.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/1.291, allocations: 5.901 MB / 0.845 GB, free: 116.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.302, allocations: 10.01 MB / 0.8548 GB, free: 109.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.158e-05/1.302, allocations: 22.12 kB / 0.8548 GB, free: 109.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01591/1.318, allocations: 10.91 MB / 0.8654 GB, free: 99.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/1.318, allocations: 42.03 kB / 0.8655 GB, free: 99.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/1.318, allocations: 79.94 kB / 0.8656 GB, free: 99.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/1.321, allocations: 1.366 MB / 0.8669 GB, free: 98.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005425/1.326, allocations: 1.622 MB / 0.8685 GB, free: 96.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.339, allocations: 10.95 MB / 0.8792 GB, free: 85.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/1.344, allocations: 403.5 kB / 0.8796 GB, free: 85.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008701/1.345, allocations: 341.4 kB / 0.8799 GB, free: 84.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005516/1.35, allocations: 4.173 MB / 0.884 GB, free: 80.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.352, allocations: 496.8 kB / 0.8844 GB, free: 80.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.364, allocations: 8.404 MB / 0.8926 GB, free: 71.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009849/1.374, allocations: 7.03 MB / 0.8995 GB, free: 64.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.374, allocations: 12 kB / 0.8995 GB, free: 64.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.003e-05/1.374, allocations: 23.91 kB / 0.8995 GB, free: 64.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02911/1.403, allocations: 17.84 MB / 0.917 GB, free: 46.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.403, allocations: 4 kB / 0.917 GB, free: 46.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/1.407, allocations: 0.94 MB / 0.9179 GB, free: 45.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/1.409, allocations: 1.214 MB / 0.9191 GB, free: 44.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/1.41, allocations: 120 kB / 0.9192 GB, free: 44.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.422, allocations: 9.676 MB / 0.9286 GB, free: 34.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.422, allocations: 7.938 kB / 0.9286 GB, free: 34.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.438, allocations: 12.24 MB / 0.9406 GB, free: 22.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003414/1.441, allocations: 1.117 MB / 0.9417 GB, free: 21.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.442, allocations: 96 kB / 0.9418 GB, free: 21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.445, allocations: 267.8 kB / 0.942 GB, free: 20.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006664/1.445, allocations: 377.1 kB / 0.9424 GB, free: 20.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.446, allocations: 152 kB / 0.9425 GB, free: 20.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003531/1.449, allocations: 2.772 MB / 0.9452 GB, free: 17.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.449, allocations: 0 / 0.9452 GB, free: 17.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006182/1.455, allocations: 1.93 MB / 0.9471 GB, free: 15.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/1.472, allocations: 12.99 MB / 0.9598 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.487, allocations: 8.345 MB / 0.968 GB, free: 9.898 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.487, allocations: 4 kB / 0.968 GB, free: 9.895 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0081/1.495, allocations: 3.866 MB / 0.9717 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/1.501, allocations: 1.137 MB / 0.9729 GB, free: 4.883 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3061/1.807, allocations: 63.61 MB / 1.035 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008212/1.815, allocations: 6.581 MB / 1.041 GB, free: 163.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00561/1.821, allocations: 2.319 MB / 1.044 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005197/1.826, allocations: 3.877 MB / 1.047 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.383e-06/1.826, allocations: 2.688 kB / 1.047 GB, free: 159.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/2.015, allocations: 153 MB / 1.197 GB, free: 8.355 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.82/20.84, allocations: 4.062 kB / 1.197 GB, free: 8.352 MB / 0.5763 GB " [Timeout remaining time 639] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.662891406100243] Failed to read output from testmodel.py, exit status != 0: 21.024890666361898 21.048832775 20.550441973 Calling exit ...