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.001762/0.001762, allocations: 83.44 kB / 19.02 MB, free: 2.719 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.525/1.525, allocations: 177.2 MB / 199.3 MB, free: 9.508 MB / 190.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.001689/0.001689, allocations: 165.4 kB / 255.8 MB, free: 0.9414 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.03748/0.03748, allocations: 6.673 MB / 318.9 MB, free: 48.51 MB / 286.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: 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: 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.003026/0.003026, allocations: 83.88 kB / 445.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3187, allocations: 55.58 MB / 0.4895 GB, free: 26.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.01952/0.3382, allocations: 21.51 MB / 0.5105 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.3574, allocations: 7.898 MB / 0.5182 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007777/0.3652, allocations: 214.9 kB / 0.5184 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02298/0.3882, allocations: 8.234 MB / 0.5265 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.4022, allocations: 3.082 MB / 0.5295 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007517/0.4098, allocations: 1.824 MB / 0.5313 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01839/0.4281, allocations: 11.34 MB / 0.5423 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02685/0.455, allocations: 14.48 MB / 0.5565 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01724/0.4722, allocations: 9.162 MB / 0.5654 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.486, allocations: 6.272 MB / 0.5716 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004611/0.4906, allocations: 1.715 MB / 0.5732 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006918/0.4975, allocations: 2.136 MB / 0.5753 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005002/0.5025, allocations: 3.402 MB / 0.5786 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009756/0.5123, allocations: 4.919 MB / 0.5834 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03352/0.5458, allocations: 23.29 MB / 0.6062 GB, free: 2.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.5458, allocations: 3.984 kB / 0.6062 GB, free: 2.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5458, allocations: 0 / 0.6062 GB, free: 2.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007156/0.5465, allocations: 3.938 kB / 0.6062 GB, free: 2.191 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.5166/1.063, allocations: 13.56 MB / 0.6194 GB, free: 92.07 MB / 462.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.063, allocations: 8.031 kB / 0.6195 GB, free: 92.07 MB / 462.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/1.098, allocations: 6.259 MB / 0.6256 GB, free: 85.88 MB / 462.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.116, allocations: 7.363 MB / 0.6328 GB, free: 78.48 MB / 462.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/1.117, allocations: 0.7189 MB / 0.6335 GB, free: 77.77 MB / 462.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005002/1.122, allocations: 0.9488 MB / 0.6344 GB, free: 76.84 MB / 462.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04838/1.17, allocations: 16.32 MB / 0.6503 GB, free: 60.45 MB / 462.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006336/1.171, allocations: 11.91 kB / 0.6503 GB, free: 60.44 MB / 462.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005309/1.176, allocations: 407.1 kB / 0.6507 GB, free: 60.05 MB / 462.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000616/1.177, allocations: 0.563 MB / 0.6513 GB, free: 59.49 MB / 462.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03767/1.214, allocations: 15.08 MB / 0.666 GB, free: 44.39 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09765/1.312, allocations: 45.43 MB / 0.7104 GB, free: 14.21 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/1.331, allocations: 8.532 MB / 0.7187 GB, free: 6.438 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007474/1.339, allocations: 3.316 MB / 0.7219 GB, free: 3.117 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/1.34, allocations: 115.4 kB / 0.722 GB, free: 3.004 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/1.34, allocations: 78.06 kB / 0.7221 GB, free: 2.918 MB / 478.2 MB Notification: Performance of pre-optimization done (n=447): time 1.252e-05/1.34, allocations: 0 / 0.7221 GB, free: 2.918 MB / 478.2 MB Notification: Performance of matching and sorting (n=452): time 0.06258/1.402, allocations: 20.42 MB / 0.742 GB, free: 14.45 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.403, allocations: 98.95 kB / 0.7421 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.413, allocations: 4.42 MB / 0.7465 GB, free: 9.941 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.414, allocations: 101.7 kB / 0.7466 GB, free: 9.836 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004058/1.418, allocations: 4.344 MB / 0.7508 GB, free: 5.453 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002733/1.42, allocations: 1.619 MB / 0.7524 GB, free: 3.82 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004602/1.425, allocations: 1.204 MB / 0.7536 GB, free: 2.605 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.425, allocations: 313 kB / 0.7539 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006287/1.432, allocations: 3.061 MB / 0.7568 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008644/1.44, allocations: 5.235 MB / 0.762 GB, free: 9.016 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/1.456, allocations: 8.876 MB / 0.7706 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.456, allocations: 20 kB / 0.7706 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02689/1.483, allocations: 9.83 MB / 0.7802 GB, free: 5.301 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.483, allocations: 32 kB / 0.7803 GB, free: 5.27 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/1.483, allocations: 68 kB / 0.7803 GB, free: 5.203 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/1.487, allocations: 1.382 MB / 0.7817 GB, free: 3.812 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/1.493, allocations: 1.388 MB / 0.783 GB, free: 2.422 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.515, allocations: 12.05 MB / 0.7948 GB, free: 6.152 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/1.52, allocations: 351.6 kB / 0.7952 GB, free: 5.809 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.522, allocations: 300 kB / 0.7954 GB, free: 5.516 MB / 0.5451 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.009714/1.532, allocations: 3.88 MB / 0.7992 GB, free: 1.617 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/1.534, allocations: 473 kB / 0.7997 GB, free: 1.152 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/1.556, allocations: 8.439 MB / 0.8079 GB, free: 8.664 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01517/1.571, allocations: 6.201 MB / 0.814 GB, free: 2.441 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.847e-05/1.571, allocations: 12 kB / 0.814 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/1.571, allocations: 19.92 kB / 0.814 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03923/1.611, allocations: 14.96 MB / 0.8286 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.99e-05/1.611, allocations: 12 kB / 0.8286 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004208/1.615, allocations: 0.812 MB / 0.8294 GB, free: 2.453 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/1.619, allocations: 1.257 MB / 0.8306 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/1.62, allocations: 108 kB / 0.8308 GB, free: 1.082 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3311/1.951, allocations: 10.95 MB / 0.8414 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.951, allocations: 15.38 kB / 0.8415 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/1.969, allocations: 11.15 MB / 0.8523 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/1.971, allocations: 1.04 MB / 0.8534 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009681/1.972, allocations: 90.03 kB / 0.8535 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.975, allocations: 228.8 kB / 0.8537 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007834/1.976, allocations: 352.1 kB / 0.854 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.976, allocations: 148.2 kB / 0.8541 GB, free: 188 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004464/1.981, allocations: 2.947 MB / 0.857 GB, free: 187 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.981, allocations: 3.156 kB / 0.857 GB, free: 187 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007062/1.988, allocations: 1.72 MB / 0.8587 GB, free: 186.8 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.002237/1.99, allocations: 0.5487 MB / 0.8592 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01263/2.002, allocations: 7.673 MB / 0.8667 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/2.002, allocations: 0 / 0.8667 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/2.01, allocations: 3.688 MB / 0.8703 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005799/2.016, allocations: 0.95 MB / 0.8713 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/2.048, allocations: 18.31 MB / 0.8891 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.06, allocations: 6.066 MB / 0.8951 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006454/2.066, allocations: 2.094 MB / 0.8971 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/2.069, allocations: 389 kB / 0.8975 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.363e-06/2.069, allocations: 0 / 0.8975 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1097/2.178, allocations: 66.48 MB / 0.9624 GB, free: 86.86 MB / 0.5763 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: 10.263859555125237] Failed to read output from testmodel.py, exit status != 0: 2.189154611900449 2.19894771 1.650437692 Calling exit ...