Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001358/0.001358, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.392/1.392, allocations: 177.2 MB / 199.5 MB, free: 8.43 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.001545/0.001545, allocations: 156.1 kB / 256 MB, free: 4.344 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.04046/0.04046, allocations: 6.657 MB / 319 MB, free: 5.406 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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 4 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.583e-05, allocations: 8.609 kB / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01703/0.01706, allocations: 21.98 MB / 467.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.03209, allocations: 7.78 MB / 475.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005048/0.03714, allocations: 207 kB / 475.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01565/0.05279, allocations: 6.023 MB / 481.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008701/0.06149, allocations: 2.826 MB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.0664, allocations: 1.611 MB / 486.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1697/0.2361, allocations: 7.635 MB / 494 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.2504, allocations: 9.009 MB / 0.4912 GB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009867/0.2603, allocations: 5.654 MB / 0.4967 GB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005677/0.266, allocations: 3.614 MB / 0.5003 GB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.2682, allocations: 1.071 MB / 0.5013 GB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.2731, allocations: 1.457 MB / 0.5027 GB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.2752, allocations: 2.189 MB / 0.5049 GB, free: 8.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004923/0.2801, allocations: 2.758 MB / 0.5076 GB, free: 7.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.2948, allocations: 14.7 MB / 0.5219 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2948, allocations: 0 / 0.5219 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2948, allocations: 0 / 0.5219 GB, free: 10.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002748/0.2951, allocations: 0 / 0.5219 GB, free: 10.72 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.02566/0.3208, allocations: 8.828 MB / 0.5305 GB, free: 1.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3208, allocations: 15.98 kB / 0.5306 GB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/0.347, allocations: 4.417 MB / 0.5349 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.3578, allocations: 4.62 MB / 0.5394 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004666/0.3582, allocations: 492.6 kB / 0.5399 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/0.3604, allocations: 0.6278 MB / 0.5405 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.3832, allocations: 10.48 MB / 0.5507 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/0.3835, allocations: 11.52 kB / 0.5507 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/0.3852, allocations: 265.8 kB / 0.551 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000504/0.3857, allocations: 417.7 kB / 0.5514 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.4065, allocations: 9.852 MB / 0.561 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/0.4642, allocations: 29.7 MB / 0.59 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/0.4795, allocations: 6.686 MB / 0.5965 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.4832, allocations: 2.116 MB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.4834, allocations: 74.27 kB / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/0.4835, allocations: 72.77 kB / 0.5987 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.57e-06/0.4835, allocations: 0 / 0.5987 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02335/0.5069, allocations: 10.79 MB / 0.6093 GB, free: 1.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.5069, allocations: 81.78 kB / 0.6093 GB, free: 1.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.5122, allocations: 2.888 MB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.5124, allocations: 73.7 kB / 0.6122 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.5148, allocations: 2.965 MB / 0.6151 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.516, allocations: 1.076 MB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/0.5177, allocations: 0.9138 MB / 0.6171 GB, free: 9.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5178, allocations: 305.1 kB / 0.6174 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.5213, allocations: 2.031 MB / 0.6193 GB, free: 7.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/0.5262, allocations: 3.757 MB / 0.623 GB, free: 3.051 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008704/0.5349, allocations: 6.052 MB / 0.6289 GB, free: 12.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.743e-05/0.5349, allocations: 16 kB / 0.6289 GB, free: 12.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01232/0.5472, allocations: 6.623 MB / 0.6354 GB, free: 6.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.5473, allocations: 28 kB / 0.6354 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.301e-05/0.5474, allocations: 56 kB / 0.6355 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.5495, allocations: 0.6657 MB / 0.6361 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/0.5536, allocations: 1.074 MB / 0.6372 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/0.5636, allocations: 6.003 MB / 0.643 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/0.5673, allocations: 275.6 kB / 0.6433 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007818/0.5681, allocations: 236 kB / 0.6435 GB, free: 13.79 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.004594/0.5727, allocations: 2.316 MB / 0.6458 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009408/0.5736, allocations: 314 kB / 0.6461 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009643/0.5833, allocations: 4.608 MB / 0.6506 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.5833, allocations: 35.98 kB / 0.6506 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.5833, allocations: 8 kB / 0.6506 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.5833, allocations: 15.94 kB / 0.6507 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2125/0.7959, allocations: 9.527 MB / 0.66 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.7959, allocations: 7.188 kB / 0.66 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/0.798, allocations: 0.5351 MB / 0.6605 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.7998, allocations: 0.5665 MB / 0.661 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/0.8, allocations: 72.91 kB / 0.6611 GB, free: 160.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/0.8072, allocations: 5.219 MB / 0.6662 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.8072, allocations: 9.75 kB / 0.6662 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/0.817, allocations: 6.558 MB / 0.6726 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.8188, allocations: 0.6415 MB / 0.6732 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.8192, allocations: 59.16 kB / 0.6733 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.8208, allocations: 144.1 kB / 0.6734 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/0.8213, allocations: 223.4 kB / 0.6737 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.8215, allocations: 92.38 kB / 0.6737 GB, free: 155 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002595/0.8241, allocations: 1.844 MB / 0.6755 GB, free: 154.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8241, allocations: 0 / 0.6755 GB, free: 154.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003489/0.8275, allocations: 1.17 MB / 0.6767 GB, free: 154.2 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.0004455/0.828, allocations: 235.6 kB / 0.6769 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.8345, allocations: 4.827 MB / 0.6816 GB, free: 152.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.8345, allocations: 1.641 kB / 0.6816 GB, free: 152.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.8377, allocations: 2.124 MB / 0.6837 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.8404, allocations: 0.5731 MB / 0.6843 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.8544, allocations: 11.11 MB / 0.6951 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.8572, allocations: 3.647 MB / 0.6987 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002797/0.86, allocations: 1.303 MB / 0.6999 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000743/0.8607, allocations: 281.4 kB / 0.7002 GB, free: 139.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8607, allocations: 0 / 0.7002 GB, free: 139.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06159/0.9223, allocations: 42.9 MB / 0.7421 GB, free: 98.94 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.907089147716761] Failed to read output from testmodel.py, exit status != 0: 0.9299516379833221 0.940185021 0.642850187 Calling exit ...