Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.001301/0.001301, allocations: 113 kB / 18.94 MB, free: 2.934 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.452/1.452, allocations: 230.6 MB / 252.7 MB, free: 8.316 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.001836/0.001836, allocations: 222.5 kB / 309.2 MB, free: 3.207 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.04236/0.04236, allocations: 8.917 MB / 374.6 MB, free: 1.961 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_withLosses,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_withLosses,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_withLosses",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.00248/0.00248, allocations: 83.88 kB / 0.4892 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3076, allocations: 55.6 MB / 0.5435 GB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02052/0.3282, allocations: 25.09 MB / 0.568 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3454, allocations: 8.286 MB / 0.5761 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005501/0.351, allocations: 217.8 kB / 0.5763 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01978/0.3707, allocations: 8.504 MB / 0.5846 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.3854, allocations: 3.158 MB / 0.5877 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007326/0.3927, allocations: 1.885 MB / 0.5896 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.4107, allocations: 11.35 MB / 0.6006 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02697/0.4377, allocations: 14.68 MB / 0.615 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/0.4495, allocations: 6.075 MB / 0.6209 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01317/0.4627, allocations: 6.573 MB / 0.6273 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004661/0.4673, allocations: 1.719 MB / 0.629 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007381/0.4747, allocations: 2.16 MB / 0.6311 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006339/0.481, allocations: 3.41 MB / 0.6344 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01598/0.497, allocations: 6.358 MB / 0.6406 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03196/0.529, allocations: 23.19 MB / 0.6633 GB, free: 2.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.529, allocations: 0 / 0.6633 GB, free: 2.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.529, allocations: 0 / 0.6633 GB, free: 2.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005026/0.5295, allocations: 4 kB / 0.6633 GB, free: 2.117 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04327/0.5728, allocations: 13.58 MB / 0.6766 GB, free: 4.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5728, allocations: 8.031 kB / 0.6766 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005113/0.5779, allocations: 1.609 MB / 0.6781 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03668/0.6146, allocations: 6.26 MB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/0.6313, allocations: 7.37 MB / 0.6914 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007117/0.632, allocations: 0.7225 MB / 0.6922 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/0.6355, allocations: 0.9569 MB / 0.6931 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5333/1.169, allocations: 16.2 MB / 0.7089 GB, free: 97.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000387/1.169, allocations: 7.891 kB / 0.7089 GB, free: 97.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/1.173, allocations: 405.5 kB / 0.7093 GB, free: 97.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005442/1.174, allocations: 0.5615 MB / 0.7098 GB, free: 97.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/1.209, allocations: 15.17 MB / 0.7247 GB, free: 91.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07752/1.286, allocations: 51.49 MB / 0.7749 GB, free: 52.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1.3, allocations: 8.636 MB / 0.7834 GB, free: 45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004463/1.304, allocations: 3.323 MB / 0.7866 GB, free: 41.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/1.305, allocations: 141.8 kB / 0.7868 GB, free: 41.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.305, allocations: 86 kB / 0.7868 GB, free: 41.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=447): time 5.67e-06/1.305, allocations: 0 / 0.7868 GB, free: 41.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.04478/1.35, allocations: 20.56 MB / 0.8069 GB, free: 21.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.35, allocations: 98.95 kB / 0.807 GB, free: 21.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005319/1.355, allocations: 4.513 MB / 0.8114 GB, free: 16.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007372/1.356, allocations: 97.7 kB / 0.8115 GB, free: 16.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/1.358, allocations: 4.352 MB / 0.8158 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.36, allocations: 1.615 MB / 0.8173 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/1.362, allocations: 1.208 MB / 0.8185 GB, free: 9.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/1.362, allocations: 313 kB / 0.8188 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/1.366, allocations: 3.069 MB / 0.8218 GB, free: 6.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005072/1.371, allocations: 5.214 MB / 0.8269 GB, free: 64 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/1.385, allocations: 8.887 MB / 0.8356 GB, free: 6.203 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.938e-05/1.385, allocations: 20 kB / 0.8356 GB, free: 6.184 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02151/1.406, allocations: 9.876 MB / 0.8452 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/1.406, allocations: 32 kB / 0.8453 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.406, allocations: 72 kB / 0.8453 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/1.411, allocations: 1.405 MB / 0.8467 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.417, allocations: 1.388 MB / 0.8481 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/1.437, allocations: 12.46 MB / 0.8602 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.442, allocations: 351.5 kB / 0.8606 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.444, allocations: 308 kB / 0.8609 GB, free: 12.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009326/1.453, allocations: 3.888 MB / 0.8647 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.454, allocations: 484.8 kB / 0.8651 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.471, allocations: 8.476 MB / 0.8734 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01815/1.49, allocations: 6.225 MB / 0.8795 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.62e-05/1.49, allocations: 15.83 kB / 0.8795 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001458/1.49, allocations: 27.91 kB / 0.8795 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03992/1.53, allocations: 17.46 MB / 0.8966 GB, free: 7.289 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/1.53, allocations: 8 kB / 0.8966 GB, free: 7.281 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/1.534, allocations: 0.8074 MB / 0.8974 GB, free: 6.473 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003904/1.537, allocations: 1.293 MB / 0.8986 GB, free: 5.172 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007251/1.538, allocations: 115.9 kB / 0.8987 GB, free: 5.059 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.557, allocations: 11.35 MB / 0.9098 GB, free: 9.473 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.557, allocations: 11.94 kB / 0.9098 GB, free: 9.461 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.28/1.837, allocations: 11.21 MB / 0.9208 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003505/1.84, allocations: 1.062 MB / 0.9218 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.841, allocations: 90.41 kB / 0.9219 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.844, allocations: 233 kB / 0.9221 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/1.845, allocations: 351.5 kB / 0.9225 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003395/1.845, allocations: 140 kB / 0.9226 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006027/1.851, allocations: 3.127 MB / 0.9257 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.4e-07/1.851, allocations: 0 / 0.9257 GB, free: 178.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007571/1.859, allocations: 1.729 MB / 0.9273 GB, free: 178.7 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01832/1.877, allocations: 12.2 MB / 0.9393 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.891, allocations: 7.688 MB / 0.9468 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.891, allocations: 2.734 kB / 0.9468 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007891/1.899, allocations: 3.696 MB / 0.9504 GB, free: 168.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/1.905, allocations: 1.051 MB / 0.9514 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09675/2.001, allocations: 60.91 MB / 1.011 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009736/2.011, allocations: 6.525 MB / 1.017 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005456/2.017, allocations: 2.112 MB / 1.019 GB, free: 117 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005241/2.022, allocations: 3.588 MB / 1.023 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.573e-06/2.022, allocations: 0 / 1.023 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4927/2.515, allocations: 146.2 MB / 1.166 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/26.7, allocations: 6.5 kB / 1.166 GB, free: 174.4 MB / 0.5919 GB " [Timeout remaining time 633] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.InductionMachines.IMC_withLosses_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 34.108894985001825] Failed to read output from testmodel.py, exit status != 0: 26.942651628996828 26.962643484 26.429771371 Calling exit ...