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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 189.2 kB / 295 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03874/0.03874, allocations: 8.801 MB / 356 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 83.84 kB / 473.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2158, allocations: 51.56 MB / 0.5126 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.0271/0.243, allocations: 24.86 MB / 0.5369 GB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.2581, allocations: 7.992 MB / 0.5447 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.262, allocations: 183.4 kB / 0.5448 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01819/0.2802, allocations: 8.368 MB / 0.553 GB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.289, allocations: 2.98 MB / 0.5559 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004986/0.294, allocations: 1.815 MB / 0.5577 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01416/0.3082, allocations: 11.11 MB / 0.5685 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03349/0.3417, allocations: 23.25 MB / 0.5912 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008149/0.3499, allocations: 5.907 MB / 0.597 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009331/0.3593, allocations: 6.444 MB / 0.6033 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003736/0.3631, allocations: 1.715 MB / 0.605 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005488/0.3686, allocations: 2.125 MB / 0.6071 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004743/0.3733, allocations: 3.394 MB / 0.6104 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009697/0.383, allocations: 6.354 MB / 0.6166 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02669/0.4098, allocations: 23.17 MB / 0.6392 GB, free: 10.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4098, allocations: 7.984 kB / 0.6392 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4098, allocations: 0 / 0.6392 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004726/0.4103, allocations: 0 / 0.6392 GB, free: 10.93 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.03665/0.447, allocations: 13.62 MB / 0.6525 GB, free: 13.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.447, allocations: 8.031 kB / 0.6525 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03311/0.4801, allocations: 6.315 MB / 0.6587 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3454/0.8256, allocations: 7.271 MB / 0.6658 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007827/0.8264, allocations: 0.7172 MB / 0.6665 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/0.8293, allocations: 0.9438 MB / 0.6674 GB, free: 116.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.8533, allocations: 16.14 MB / 0.6832 GB, free: 110.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/0.8536, allocations: 10.61 kB / 0.6832 GB, free: 110.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.8546, allocations: 404.1 kB / 0.6836 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003402/0.8549, allocations: 0.5601 MB / 0.6841 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.876, allocations: 15.11 MB / 0.6989 GB, free: 97.54 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06298/0.939, allocations: 52.14 MB / 0.7498 GB, free: 45.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.9532, allocations: 20.09 MB / 0.7694 GB, free: 23.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004574/0.9578, allocations: 3.638 MB / 0.7729 GB, free: 19.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.9582, allocations: 179.3 kB / 0.7731 GB, free: 19.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.9582, allocations: 86 kB / 0.7732 GB, free: 19.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 5.44e-06/0.9583, allocations: 0 / 0.7732 GB, free: 19.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04146/0.9997, allocations: 20.76 MB / 0.7935 GB, free: 14.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.9998, allocations: 98.95 kB / 0.7936 GB, free: 14.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/1.006, allocations: 4.497 MB / 0.798 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005796/1.007, allocations: 97.7 kB / 0.7981 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003073/1.01, allocations: 4.335 MB / 0.8023 GB, free: 6.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.012, allocations: 1.614 MB / 0.8039 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/1.013, allocations: 1.192 MB / 0.805 GB, free: 3.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.013, allocations: 305.1 kB / 0.8053 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/1.018, allocations: 3.063 MB / 0.8083 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006836/1.025, allocations: 5.22 MB / 0.8134 GB, free: 9.766 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.038, allocations: 8.864 MB / 0.8221 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-05/1.038, allocations: 23.94 kB / 0.8221 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01719/1.055, allocations: 9.88 MB / 0.8317 GB, free: 6.008 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/1.055, allocations: 36 kB / 0.8318 GB, free: 5.973 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.938e-05/1.055, allocations: 71.94 kB / 0.8318 GB, free: 5.902 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/1.059, allocations: 1.403 MB / 0.8332 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/1.064, allocations: 1.396 MB / 0.8346 GB, free: 3.098 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.083, allocations: 12.67 MB / 0.8469 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.087, allocations: 359.6 kB / 0.8473 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008369/1.088, allocations: 296 kB / 0.8476 GB, free: 5.52 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.00615/1.094, allocations: 3.888 MB / 0.8514 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.095, allocations: 480.9 kB / 0.8518 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.11, allocations: 8.514 MB / 0.8601 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01112/1.121, allocations: 6.256 MB / 0.8662 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.121, allocations: 12 kB / 0.8663 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-05/1.121, allocations: 23.91 kB / 0.8663 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/1.151, allocations: 17.4 MB / 0.8833 GB, free: 0.7109 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.151, allocations: 8 kB / 0.8833 GB, free: 0.7031 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1999/1.351, allocations: 0.8003 MB / 0.8841 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.355, allocations: 1.293 MB / 0.8853 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007926/1.356, allocations: 103.4 kB / 0.8854 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/1.368, allocations: 11.56 MB / 0.8967 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.368, allocations: 10.81 kB / 0.8967 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.382, allocations: 11.22 MB / 0.9077 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.383, allocations: 1.113 MB / 0.9088 GB, free: 181.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/1.384, allocations: 88.81 kB / 0.9088 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.386, allocations: 241.4 kB / 0.9091 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005591/1.387, allocations: 323.8 kB / 0.9094 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.387, allocations: 142.8 kB / 0.9095 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003611/1.39, allocations: 3.105 MB / 0.9126 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.8e-07/1.39, allocations: 0 / 0.9126 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004839/1.395, allocations: 1.728 MB / 0.9142 GB, free: 180.2 MB / 0.5607 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.001633/1.397, allocations: 0.5421 MB / 0.9148 GB, free: 180 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00994/1.407, allocations: 7.987 MB / 0.9226 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.407, allocations: 3.812 kB / 0.9226 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005232/1.412, allocations: 3.946 MB / 0.9264 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/1.417, allocations: 1.049 MB / 0.9275 GB, free: 173.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.439, allocations: 18.02 MB / 0.945 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004645/1.443, allocations: 6.321 MB / 0.9512 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/1.445, allocations: 423.3 kB / 0.9516 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of SimCode: time 9.32e-07/1.445, allocations: 0 / 0.9516 GB, free: 151.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.3555/1.8, allocations: 227.8 MB / 1.174 GB, free: 126.8 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.34538148692809] Failed to read output from testmodel.py, exit status != 0: 1.805838208179921 1.813500622 1.402047592 Calling exit ...