Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001627/0.001627, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.487/1.487, allocations: 230.6 MB / 253.4 MB, free: 14.31 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.001616/0.001616, allocations: 213.9 kB / 310 MB, free: 3.094 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.04216/0.04216, allocations: 8.917 MB / 375.3 MB, free: 6.605 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: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [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.002587/0.002587, allocations: 83.88 kB / 0.4904 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09631, allocations: 55.61 MB / 0.5447 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.2746/0.3709, allocations: 21.98 MB / 0.5662 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3869, allocations: 7.71 MB / 0.5737 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006766/0.3936, allocations: 201.6 kB / 0.5739 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01907/0.4127, allocations: 7.163 MB / 0.5809 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4255, allocations: 3.103 MB / 0.5839 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006549/0.432, allocations: 2.001 MB / 0.5859 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01374/0.4458, allocations: 9.404 MB / 0.5951 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02375/0.4695, allocations: 11.19 MB / 0.606 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.48, allocations: 4.876 MB / 0.6108 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.491, allocations: 5.052 MB / 0.6157 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004019/0.495, allocations: 1.355 MB / 0.617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/0.5017, allocations: 1.718 MB / 0.6187 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005651/0.5074, allocations: 2.681 MB / 0.6213 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01081/0.5182, allocations: 3.958 MB / 0.6252 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03091/0.5491, allocations: 18.29 MB / 0.643 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5491, allocations: 3.938 kB / 0.643 GB, free: 8.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5491, allocations: 0 / 0.643 GB, free: 8.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005247/0.5496, allocations: 0 / 0.643 GB, free: 8.688 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.0368/0.5864, allocations: 10.88 MB / 0.6537 GB, free: 13.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.5865, allocations: 15.98 kB / 0.6537 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03425/0.6207, allocations: 5.675 MB / 0.6592 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.6366, allocations: 5.829 MB / 0.6649 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008934/0.6375, allocations: 0.5819 MB / 0.6655 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004271/0.6418, allocations: 0.7616 MB / 0.6662 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.6797, allocations: 12.97 MB / 0.6789 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004736/0.6802, allocations: 11.89 kB / 0.6789 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003568/0.6838, allocations: 328 kB / 0.6792 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007338/0.6845, allocations: 0.4967 MB / 0.6797 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/0.7149, allocations: 12.23 MB / 0.6916 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08462/0.7995, allocations: 36.67 MB / 0.7275 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/0.8196, allocations: 8.905 MB / 0.7362 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005528/0.8251, allocations: 2.722 MB / 0.7388 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.8256, allocations: 90.98 kB / 0.7389 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005125/0.8308, allocations: 2.791 MB / 0.7416 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 9.458e-06/0.8308, allocations: 0 / 0.7416 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.04746/0.8782, allocations: 18.32 MB / 0.7595 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/0.8785, allocations: 355.5 kB / 0.7599 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006478/0.8849, allocations: 3.365 MB / 0.7631 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006227/0.8856, allocations: 89.7 kB / 0.7632 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.8889, allocations: 3.513 MB / 0.7667 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001855/0.8908, allocations: 1.41 MB / 0.768 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/0.8936, allocations: 1.097 MB / 0.7691 GB, free: 6.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8937, allocations: 305.1 kB / 0.7694 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/0.8987, allocations: 2.585 MB / 0.7719 GB, free: 4.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2747/1.173, allocations: 4.717 MB / 0.7765 GB, free: 164.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/1.183, allocations: 7.464 MB / 0.7838 GB, free: 161.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.183, allocations: 16.16 kB / 0.7838 GB, free: 161.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01748/1.201, allocations: 8.296 MB / 0.7919 GB, free: 159.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.201, allocations: 61.69 kB / 0.792 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/1.201, allocations: 60 kB / 0.792 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/1.204, allocations: 0.992 MB / 0.793 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005367/1.209, allocations: 1.268 MB / 0.7943 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.223, allocations: 8.522 MB / 0.8026 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.228, allocations: 347.2 kB / 0.8029 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.229, allocations: 273.5 kB / 0.8032 GB, free: 154 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006736/1.236, allocations: 2.903 MB / 0.806 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.237, allocations: 385.8 kB / 0.8064 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.248, allocations: 6.164 MB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.248, allocations: 42.88 kB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.248, allocations: 7.688 kB / 0.8124 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/1.248, allocations: 19.03 kB / 0.8125 GB, free: 150 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.269, allocations: 12.75 MB / 0.8249 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.269, allocations: 7.375 kB / 0.8249 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.272, allocations: 0.6811 MB / 0.8256 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/1.274, allocations: 0.8766 MB / 0.8264 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003302/1.274, allocations: 92.94 kB / 0.8265 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009007/1.283, allocations: 7.475 MB / 0.8338 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.283, allocations: 8.031 kB / 0.8338 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.295, allocations: 8.818 MB / 0.8424 GB, free: 131.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.297, allocations: 0.8314 MB / 0.8433 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009417/1.298, allocations: 79.94 kB / 0.8433 GB, free: 130.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.301, allocations: 187.8 kB / 0.8435 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005826/1.301, allocations: 299 kB / 0.8438 GB, free: 129.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.302, allocations: 112 kB / 0.8439 GB, free: 129.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003827/1.306, allocations: 2.169 MB / 0.846 GB, free: 127.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.306, allocations: 0 / 0.846 GB, free: 127.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00618/1.312, allocations: 1.459 MB / 0.8474 GB, free: 126.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/1.313, allocations: 248.2 kB / 0.8477 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.323, allocations: 6.279 MB / 0.8538 GB, free: 119.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.323, allocations: 0 / 0.8538 GB, free: 119.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005544/1.329, allocations: 2.909 MB / 0.8567 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/1.334, allocations: 0.7252 MB / 0.8574 GB, free: 116 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/1.361, allocations: 13.8 MB / 0.8708 GB, free: 102.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00652/1.367, allocations: 4.379 MB / 0.8751 GB, free: 97.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.369, allocations: 391.3 kB / 0.8755 GB, free: 97.24 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/1.369, allocations: 0 / 0.8755 GB, free: 97.24 MB / 0.545 GB Notification: Performance of Templates: time 0.4031/1.772, allocations: 135.4 MB / 1.008 GB, free: 186.1 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.871949712745845] Failed to read output from testmodel.py, exit status != 0: 1.7814546879380941 1.795662106 1.243330803 Calling exit ...