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.001011/0.001011, 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.9156/0.9156, allocations: 177.1 MB / 199.4 MB, free: 5.922 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.001292/0.001292, allocations: 152.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.02227/0.02227, allocations: 6.665 MB / 319 MB, free: 26.75 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.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.403e-05, allocations: 2.281 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.0138/0.01382, allocations: 23.29 MB / 468.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.02813, allocations: 7.863 MB / 476.6 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006105/0.03424, allocations: 234.8 kB / 476.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.04469, allocations: 9.208 MB / 486 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009565/0.05425, allocations: 3.443 MB / 489.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.05894, allocations: 1.839 MB / 491.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0133/0.07225, allocations: 12.76 MB / 0.4922 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02349/0.09573, allocations: 15.88 MB / 0.5077 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02119/0.1169, allocations: 9.723 MB / 0.5172 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.1276, allocations: 6.284 MB / 0.5234 GB, free: 10.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005653/0.1332, allocations: 1.832 MB / 0.5251 GB, free: 8.832 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008837/0.142, allocations: 2.233 MB / 0.5273 GB, free: 6.598 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006566/0.1486, allocations: 3.666 MB / 0.5309 GB, free: 2.922 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.1601, allocations: 4.636 MB / 0.5354 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2452/0.4053, allocations: 25.11 MB / 0.56 GB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4053, allocations: 3.375 kB / 0.56 GB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4053, allocations: 0 / 0.56 GB, free: 46.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007083/0.406, allocations: 0 / 0.56 GB, free: 46.93 MB / 410.7 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.04112/0.4472, allocations: 14.55 MB / 0.5742 GB, free: 41.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4472, allocations: 13.97 kB / 0.5742 GB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006941/0.4542, allocations: 1.79 MB / 0.5759 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/0.4801, allocations: 8.447 MB / 0.5842 GB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.4959, allocations: 7.806 MB / 0.5918 GB, free: 33.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009086/0.4968, allocations: 0.8091 MB / 0.5926 GB, free: 33.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007194/0.504, allocations: 1.063 MB / 0.5936 GB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04445/0.5485, allocations: 18.55 MB / 0.6117 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/0.5488, allocations: 11.94 kB / 0.6118 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004836/0.5537, allocations: 456.6 kB / 0.6122 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005425/0.5542, allocations: 0.6678 MB / 0.6128 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03202/0.5862, allocations: 17.49 MB / 0.6299 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09042/0.6767, allocations: 52.15 MB / 0.6808 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/0.6925, allocations: 12.66 MB / 0.6932 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/0.6974, allocations: 3.735 MB / 0.6969 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.6978, allocations: 136.4 kB / 0.697 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.6978, allocations: 82.62 kB / 0.6971 GB, free: 8.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=518): time 7.144e-06/0.6979, allocations: 0 / 0.6971 GB, free: 8.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=524): time 0.03671/0.7346, allocations: 21.29 MB / 0.7179 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.7347, allocations: 107.5 kB / 0.718 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/0.7408, allocations: 4.272 MB / 0.7221 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/0.742, allocations: 109.7 kB / 0.7222 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.7444, allocations: 4.661 MB / 0.7268 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002552/0.7469, allocations: 1.839 MB / 0.7286 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.7486, allocations: 1.363 MB / 0.7299 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.7487, allocations: 305.1 kB / 0.7302 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.7524, allocations: 3.434 MB / 0.7336 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2063/0.9587, allocations: 5.891 MB / 0.7393 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/0.9684, allocations: 10.02 MB / 0.7491 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.9685, allocations: 19.66 kB / 0.7491 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01374/0.9822, allocations: 10.9 MB / 0.7598 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/0.9823, allocations: 42.53 kB / 0.7598 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.9825, allocations: 78.14 kB / 0.7599 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.9847, allocations: 1.364 MB / 0.7612 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/0.9889, allocations: 1.628 MB / 0.7628 GB, free: 168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.003, allocations: 10.96 MB / 0.7735 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/1.01, allocations: 407.6 kB / 0.7739 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.012, allocations: 340 kB / 0.7742 GB, free: 160.5 MB / 0.5105 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.01029/1.022, allocations: 4.161 MB / 0.7783 GB, free: 157 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.023, allocations: 0.4889 MB / 0.7788 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.034, allocations: 8.392 MB / 0.7869 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007061/1.041, allocations: 7.035 MB / 0.7938 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/1.041, allocations: 15.81 kB / 0.7938 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/1.041, allocations: 27.42 kB / 0.7939 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.065, allocations: 17.83 MB / 0.8113 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.065, allocations: 7.984 kB / 0.8113 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.067, allocations: 0.94 MB / 0.8122 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/1.069, allocations: 1.222 MB / 0.8134 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005614/1.07, allocations: 122.8 kB / 0.8135 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007924/1.078, allocations: 9.681 MB / 0.823 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.078, allocations: 8 kB / 0.823 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/1.09, allocations: 12.23 MB / 0.8349 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/1.093, allocations: 1.116 MB / 0.836 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006052/1.093, allocations: 100.1 kB / 0.8361 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.095, allocations: 263.7 kB / 0.8364 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/1.095, allocations: 376.2 kB / 0.8367 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.095, allocations: 156 kB / 0.8369 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002877/1.098, allocations: 2.776 MB / 0.8396 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/1.098, allocations: 0 / 0.8396 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007286/1.105, allocations: 1.922 MB / 0.8414 GB, free: 96.06 MB / 0.5105 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.01223/1.118, allocations: 12.98 MB / 0.8541 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009457/1.127, allocations: 8.354 MB / 0.8623 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/1.127, allocations: 0.5625 kB / 0.8623 GB, free: 74.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005032/1.132, allocations: 3.875 MB / 0.8661 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/1.136, allocations: 1.121 MB / 0.8672 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0887/1.224, allocations: 63.7 MB / 0.9294 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1821/1.407, allocations: 6.584 MB / 0.9358 GB, free: 186.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00485/1.411, allocations: 2.32 MB / 0.9381 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005884/1.417, allocations: 3.876 MB / 0.9418 GB, free: 186 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/1.417, allocations: 0.9375 kB / 0.9418 GB, free: 186 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/1.57, allocations: 152.6 MB / 1.091 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.34, allocations: 0 / 1.091 GB, free: 47.85 MB / 0.5105 GB " [Timeout remaining time 647] (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: 15.527719941921532] Failed to read output from testmodel.py, exit status != 0: 13.483326088637114 13.490415521 13.083401716 Calling exit ...