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.001289/0.001289, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.412/1.412, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001458/0.001458, allocations: 200.4 kB / 300.5 MB, free: 9.82 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.04301/0.04301, allocations: 8.938 MB / 364.3 MB, free: 10.17 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.002451/0.002451, allocations: 83.58 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.09031, allocations: 54.41 MB / 0.529 GB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02855/0.1189, allocations: 24.96 MB / 0.5533 GB, free: 7.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.1345, allocations: 8.023 MB / 0.5612 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004033/0.1385, allocations: 183.4 kB / 0.5613 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02038/0.1589, allocations: 8.467 MB / 0.5696 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009867/0.1688, allocations: 3.042 MB / 0.5726 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.1742, allocations: 1.812 MB / 0.5744 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.1895, allocations: 11.11 MB / 0.5852 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02828/0.2178, allocations: 17.41 MB / 0.6022 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009122/0.2269, allocations: 5.923 MB / 0.608 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.2382, allocations: 6.51 MB / 0.6144 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004404/0.2426, allocations: 1.715 MB / 0.616 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/0.2488, allocations: 2.125 MB / 0.6181 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004737/0.2535, allocations: 3.414 MB / 0.6214 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.2638, allocations: 6.358 MB / 0.6276 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.4993, allocations: 23.16 MB / 0.6503 GB, free: 43.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4993, allocations: 6.625 kB / 0.6503 GB, free: 43.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4993, allocations: 0 / 0.6503 GB, free: 43.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005977/0.4999, allocations: 0 / 0.6503 GB, free: 43.15 MB / 446.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.04074/0.5406, allocations: 13.62 MB / 0.6636 GB, free: 37.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5407, allocations: 13.78 kB / 0.6636 GB, free: 37.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03551/0.5762, allocations: 6.318 MB / 0.6697 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.5902, allocations: 7.273 MB / 0.6769 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.5907, allocations: 0.72 MB / 0.6776 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/0.5951, allocations: 0.948 MB / 0.6785 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/0.6304, allocations: 16.13 MB / 0.6942 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004295/0.6308, allocations: 15.94 kB / 0.6942 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003439/0.6343, allocations: 402.7 kB / 0.6946 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004802/0.6348, allocations: 0.5591 MB / 0.6952 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02855/0.6633, allocations: 15.11 MB / 0.7099 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09744/0.7608, allocations: 52.11 MB / 0.7608 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02274/0.7835, allocations: 19.68 MB / 0.78 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006292/0.7898, allocations: 3.322 MB / 0.7833 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.7904, allocations: 185.8 kB / 0.7835 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/0.7904, allocations: 78.06 kB / 0.7835 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=447): time 5.811e-06/0.7904, allocations: 0 / 0.7835 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=452): time 0.05671/0.8472, allocations: 20.71 MB / 0.8038 GB, free: 14.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.8472, allocations: 94.95 kB / 0.8039 GB, free: 14.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007107/0.8543, allocations: 4.508 MB / 0.8083 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007208/0.8551, allocations: 97.7 kB / 0.8084 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003386/0.8585, allocations: 4.333 MB / 0.8126 GB, free: 5.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/0.8605, allocations: 1.611 MB / 0.8142 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/0.8626, allocations: 1.2 MB / 0.8153 GB, free: 2.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8628, allocations: 301.1 kB / 0.8156 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005285/0.868, allocations: 3.065 MB / 0.8186 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00729/0.8753, allocations: 5.211 MB / 0.8237 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/0.8893, allocations: 8.866 MB / 0.8324 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.101e-05/0.8894, allocations: 20 kB / 0.8324 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0217/0.9111, allocations: 9.849 MB / 0.842 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.9112, allocations: 32 kB / 0.842 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.9113, allocations: 68 kB / 0.8421 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/0.9158, allocations: 1.399 MB / 0.8435 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/0.9218, allocations: 1.393 MB / 0.8448 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2445/1.166, allocations: 12.66 MB / 0.8572 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/1.171, allocations: 363 kB / 0.8575 GB, free: 200.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000911/1.172, allocations: 301 kB / 0.8578 GB, free: 200.2 MB / 0.5762 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.005673/1.178, allocations: 3.888 MB / 0.8616 GB, free: 198.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009388/1.179, allocations: 481.7 kB / 0.8621 GB, free: 198.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.191, allocations: 8.467 MB / 0.8703 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008989/1.2, allocations: 6.204 MB / 0.8764 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.2, allocations: 15.09 kB / 0.8764 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/1.2, allocations: 29.38 kB / 0.8764 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/1.226, allocations: 17.37 MB / 0.8934 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.226, allocations: 8 kB / 0.8934 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/1.229, allocations: 0.8075 MB / 0.8942 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.232, allocations: 1.286 MB / 0.8955 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/1.233, allocations: 107.6 kB / 0.8956 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.246, allocations: 11.56 MB / 0.9068 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.246, allocations: 8 kB / 0.9068 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.26, allocations: 11.19 MB / 0.9178 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.262, allocations: 1.112 MB / 0.9189 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006712/1.263, allocations: 91.98 kB / 0.9189 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.265, allocations: 231.8 kB / 0.9192 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/1.266, allocations: 327.5 kB / 0.9195 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.266, allocations: 136.9 kB / 0.9196 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003601/1.27, allocations: 3.115 MB / 0.9227 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.27, allocations: 1.859 kB / 0.9227 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005252/1.275, allocations: 1.722 MB / 0.9243 GB, free: 152.8 MB / 0.5762 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.001746/1.277, allocations: 0.5397 MB / 0.9249 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.288, allocations: 7.662 MB / 0.9323 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.288, allocations: 4 kB / 0.9323 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005497/1.293, allocations: 3.681 MB / 0.9359 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/1.298, allocations: 1.044 MB / 0.937 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.322, allocations: 18.03 MB / 0.9546 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004854/1.327, allocations: 6.322 MB / 0.9607 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/1.329, allocations: 427.3 kB / 0.9612 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/1.329, allocations: 0 / 0.9612 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.3898/1.719, allocations: 228.4 MB / 1.184 GB, free: 93.74 MB / 0.5762 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: 17.482179603073746] Failed to read output from testmodel.py, exit status != 0: 1.8726471420377493 1.7361403579999999 1.234406267 Calling exit ...