Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001357/0.001357, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.374/1.374, allocations: 177.1 MB / 199.4 MB, free: 8.461 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.001602/0.001602, allocations: 158.9 kB / 256 MB, free: 4.395 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.03972/0.03972, allocations: 6.661 MB / 319 MB, free: 5.453 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.199e-05, allocations: 6.219 kB / 445.9 MB, free: 25.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01774/0.01776, allocations: 22 MB / 467.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.03198, allocations: 7.78 MB / 475.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.03519, allocations: 203.1 kB / 475.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01515/0.05034, allocations: 6.023 MB / 482 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009/0.05934, allocations: 2.849 MB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.06411, allocations: 1.605 MB / 486.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1864/0.2505, allocations: 7.636 MB / 494 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01469/0.2652, allocations: 9.015 MB / 0.4913 GB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.277, allocations: 5.652 MB / 0.4968 GB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006878/0.2839, allocations: 3.622 MB / 0.5003 GB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002524/0.2864, allocations: 1.068 MB / 0.5014 GB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004513/0.2909, allocations: 1.452 MB / 0.5028 GB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002386/0.2933, allocations: 2.184 MB / 0.5049 GB, free: 8.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007599/0.3009, allocations: 2.768 MB / 0.5076 GB, free: 7.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.3193, allocations: 14.7 MB / 0.522 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3193, allocations: 4 kB / 0.522 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3193, allocations: 0 / 0.522 GB, free: 10.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003511/0.3196, allocations: 0 / 0.522 GB, free: 10.65 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02815/0.3478, allocations: 8.825 MB / 0.5306 GB, free: 1.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3478, allocations: 11.98 kB / 0.5306 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/0.3752, allocations: 4.42 MB / 0.5349 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.3873, allocations: 4.62 MB / 0.5394 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/0.3878, allocations: 482.7 kB / 0.5399 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002555/0.3904, allocations: 0.6378 MB / 0.5405 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02968/0.42, allocations: 10.48 MB / 0.5508 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/0.4203, allocations: 15.95 kB / 0.5508 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002046/0.4224, allocations: 260.1 kB / 0.551 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006663/0.423, allocations: 421.6 kB / 0.5514 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.4519, allocations: 9.847 MB / 0.561 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07782/0.5297, allocations: 29.69 MB / 0.59 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.5457, allocations: 6.699 MB / 0.5966 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/0.5498, allocations: 2.109 MB / 0.5986 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.5502, allocations: 78.25 kB / 0.5987 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.191e-05/0.5503, allocations: 72.39 kB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 6.702e-06/0.5503, allocations: 4 kB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02627/0.5766, allocations: 10.78 MB / 0.6093 GB, free: 1.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.5766, allocations: 85.78 kB / 0.6094 GB, free: 1.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/0.582, allocations: 2.88 MB / 0.6122 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000512/0.5825, allocations: 77.7 kB / 0.6123 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/0.5851, allocations: 2.976 MB / 0.6152 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.5866, allocations: 1.067 MB / 0.6162 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/0.5889, allocations: 0.9138 MB / 0.6171 GB, free: 9.852 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5891, allocations: 309.1 kB / 0.6174 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/0.5937, allocations: 2.027 MB / 0.6194 GB, free: 7.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006486/0.6002, allocations: 3.753 MB / 0.623 GB, free: 2.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.6106, allocations: 6.061 MB / 0.629 GB, free: 12.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-05/0.6107, allocations: 16 kB / 0.629 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01432/0.625, allocations: 6.617 MB / 0.6354 GB, free: 6.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.6251, allocations: 28 kB / 0.6355 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.6252, allocations: 56 kB / 0.6355 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.6273, allocations: 0.6726 MB / 0.6362 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.6317, allocations: 1.077 MB / 0.6372 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.6419, allocations: 6.005 MB / 0.6431 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.6457, allocations: 275.6 kB / 0.6434 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/0.6465, allocations: 235.9 kB / 0.6436 GB, free: 13.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004986/0.6515, allocations: 2.317 MB / 0.6458 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/0.6526, allocations: 318 kB / 0.6462 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.6628, allocations: 4.596 MB / 0.6506 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/0.6629, allocations: 32 kB / 0.6507 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.6629, allocations: 4 kB / 0.6507 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/0.6629, allocations: 15.94 kB / 0.6507 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2059/0.8688, allocations: 9.532 MB / 0.66 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8689, allocations: 5.891 kB / 0.66 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.8711, allocations: 0.5315 MB / 0.6605 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.8729, allocations: 0.5726 MB / 0.6611 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.8732, allocations: 70.14 kB / 0.6611 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.8806, allocations: 5.235 MB / 0.6663 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8806, allocations: 5.938 kB / 0.6663 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009868/0.8904, allocations: 6.552 MB / 0.6727 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/0.8921, allocations: 0.6446 MB / 0.6733 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/0.8925, allocations: 56.84 kB / 0.6733 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.8942, allocations: 149 kB / 0.6735 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/0.8947, allocations: 221.7 kB / 0.6737 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/0.8949, allocations: 90.52 kB / 0.6738 GB, free: 155 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002799/0.8977, allocations: 1.844 MB / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8977, allocations: 0 / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003939/0.9017, allocations: 1.173 MB / 0.6767 GB, free: 154.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005146/0.9022, allocations: 227.8 kB / 0.677 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007111/0.9093, allocations: 4.829 MB / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.9093, allocations: 0 / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003526/0.9128, allocations: 2.122 MB / 0.6837 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.9159, allocations: 0.5714 MB / 0.6843 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.9316, allocations: 11.1 MB / 0.6951 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.9345, allocations: 3.649 MB / 0.6987 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002976/0.9375, allocations: 1.299 MB / 0.7 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00079/0.9383, allocations: 283.9 kB / 0.7002 GB, free: 139.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.9383, allocations: 0 / 0.7002 GB, free: 139.6 MB / 494.1 MB Notification: Performance of Templates: time 0.06624/1.005, allocations: 42.91 MB / 0.7421 GB, free: 98.78 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.815605320036411] Failed to read output from testmodel.py, exit status != 0: 1.0119598098099232 1.021791887 0.700174748 Calling exit ...