Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.001663/0.001663, allocations: 106.8 kB / 16.4 MB, free: 6.496 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.499/1.499, allocations: 222.9 MB / 242.1 MB, free: 15.35 MB / 206.1 MB " [Timeout remaining time 178] 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.001578/0.001578, allocations: 183.9 kB / 294.4 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.04113/0.04113, allocations: 8.782 MB / 355.3 MB, free: 15.94 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.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 99.83 kB / 472.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3095, allocations: 51.55 MB / 0.5119 GB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.005064/0.3146, allocations: 2.866 MB / 0.5147 GB, free: 10.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3161, allocations: 0.6522 MB / 0.5153 GB, free: 9.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.3163, allocations: 8 kB / 0.5153 GB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3165, allocations: 47.52 kB / 0.5154 GB, free: 9.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3168, allocations: 95.11 kB / 0.5154 GB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.317, allocations: 87.91 kB / 0.5155 GB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.3175, allocations: 370.4 kB / 0.5159 GB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3178, allocations: 144.1 kB / 0.516 GB, free: 8.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.318, allocations: 147.4 kB / 0.5162 GB, free: 8.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3182, allocations: 151.4 kB / 0.5163 GB, free: 8.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.3182, allocations: 40 kB / 0.5163 GB, free: 8.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.3183, allocations: 36 kB / 0.5164 GB, free: 8.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.3184, allocations: 71.77 kB / 0.5164 GB, free: 8.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3186, allocations: 175.1 kB / 0.5166 GB, free: 8.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.3191, allocations: 417.1 kB / 0.517 GB, free: 7.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3191, allocations: 0 / 0.517 GB, free: 7.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3191, allocations: 0 / 0.517 GB, free: 7.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3192, allocations: 3.938 kB / 0.517 GB, free: 7.801 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001001/0.3202, allocations: 0.604 MB / 0.5176 GB, free: 7.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3202, allocations: 8.031 kB / 0.5176 GB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.3203, allocations: 36.75 kB / 0.5176 GB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.3207, allocations: 267.9 kB / 0.5179 GB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3208, allocations: 21.03 kB / 0.5179 GB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.3208, allocations: 40.34 kB / 0.518 GB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.3214, allocations: 274.2 kB / 0.5182 GB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3214, allocations: 0 / 0.5182 GB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.3215, allocations: 19.94 kB / 0.5182 GB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3215, allocations: 8 kB / 0.5182 GB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.322, allocations: 206.5 kB / 0.5184 GB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.3237, allocations: 1.033 MB / 0.5195 GB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.3241, allocations: 154.5 kB / 0.5196 GB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3243, allocations: 73.11 kB / 0.5197 GB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.3243, allocations: 11.88 kB / 0.5197 GB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3244, allocations: 42.5 kB / 0.5197 GB, free: 4.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3244, allocations: 0 / 0.5197 GB, free: 4.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001601/0.326, allocations: 0.6858 MB / 0.5204 GB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.326, allocations: 51.41 kB / 0.5204 GB, free: 4.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3263, allocations: 195.2 kB / 0.5206 GB, free: 3.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3263, allocations: 33.7 kB / 0.5207 GB, free: 3.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3265, allocations: 188.4 kB / 0.5208 GB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.3265, allocations: 55.48 kB / 0.5209 GB, free: 3.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.3266, allocations: 41.7 kB / 0.5209 GB, free: 3.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3268, allocations: 334.8 kB / 0.5213 GB, free: 3.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.327, allocations: 55.97 kB / 0.5213 GB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3272, allocations: 100.2 kB / 0.5214 GB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.3275, allocations: 178.8 kB / 0.5216 GB, free: 2.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3275, allocations: 0 / 0.5216 GB, free: 2.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004669/0.328, allocations: 222.5 kB / 0.5218 GB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.328, allocations: 8 kB / 0.5218 GB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.328, allocations: 3.938 kB / 0.5218 GB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.3282, allocations: 24.84 kB / 0.5218 GB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.3284, allocations: 51.91 kB / 0.5219 GB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.3296, allocations: 1.371 MB / 0.5232 GB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3298, allocations: 15.92 kB / 0.5232 GB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3298, allocations: 8.156 kB / 0.5232 GB, free: 0.9492 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.33, allocations: 153.7 kB / 0.5234 GB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.33, allocations: 19.84 kB / 0.5234 GB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.3301, allocations: 25.86 kB / 0.5234 GB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3301, allocations: 0 / 0.5234 GB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3301, allocations: 4 kB / 0.5234 GB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3301, allocations: 0 / 0.5234 GB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.3311, allocations: 0.61 MB / 0.524 GB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3311, allocations: 0 / 0.524 GB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3313, allocations: 39.97 kB / 0.5241 GB, free: 24 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.381e-05/0.3314, allocations: 20.84 kB / 0.5241 GB, free: 0 / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3315, allocations: 0 / 0.5241 GB, free: 0 / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.3329, allocations: 1.371 MB / 0.5254 GB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3329, allocations: 0 / 0.5254 GB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.3336, allocations: 376.2 kB / 0.5258 GB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3337, allocations: 105 kB / 0.5259 GB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3338, allocations: 8 kB / 0.5259 GB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3339, allocations: 8.031 kB / 0.5259 GB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.334, allocations: 15.98 kB / 0.5259 GB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.334, allocations: 4 kB / 0.5259 GB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3342, allocations: 148.2 kB / 0.5261 GB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3342, allocations: 0 / 0.5261 GB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000334/0.3345, allocations: 56 kB / 0.5261 GB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.3347, allocations: 105.1 kB / 0.5262 GB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006422/0.3353, allocations: 278.4 kB / 0.5265 GB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3353, allocations: 0 / 0.5265 GB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.3357, allocations: 194.8 kB / 0.5267 GB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.336, allocations: 30.33 kB / 0.5267 GB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3375, allocations: 0.6949 MB / 0.5274 GB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.338, allocations: 0.7593 MB / 0.5281 GB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.027e-05/0.3381, allocations: 17.53 kB / 0.5281 GB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.3382, allocations: 23.44 kB / 0.5281 GB, free: 11.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3382, allocations: 3.938 kB / 0.5281 GB, free: 11.55 MB / 350.1 MB Notification: Performance of Templates: time 0.007049/0.3452, allocations: 2.286 MB / 0.5304 GB, free: 9.293 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9345198180526495]