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.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.001404/0.001404, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.591/1.591, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.001572/0.001572, allocations: 187.2 kB / 301.4 MB, free: 9.098 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.07402/0.07402, allocations: 8.919 MB / 365.5 MB, free: 9.234 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.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 0.002386/0.002386, allocations: 88.39 kB / 489.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.156, allocations: 54.42 MB / 0.5311 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.0344/0.1904, allocations: 25.57 MB / 0.556 GB, free: 5.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.2123, allocations: 8.064 MB / 0.5639 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007542/0.2199, allocations: 171.5 kB / 0.5641 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01745/0.2373, allocations: 6.169 MB / 0.5701 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.2493, allocations: 2.79 MB / 0.5728 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00685/0.2561, allocations: 1.636 MB / 0.5744 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.2714, allocations: 7.277 MB / 0.5815 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.2916, allocations: 8.468 MB / 0.5898 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/0.3003, allocations: 3.763 MB / 0.5935 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.3109, allocations: 4.271 MB / 0.5976 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005397/0.3163, allocations: 1.074 MB / 0.5987 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/0.3235, allocations: 1.441 MB / 0.6001 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006188/0.3297, allocations: 2.143 MB / 0.6022 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01108/0.3408, allocations: 4.113 MB / 0.6062 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0307/0.3715, allocations: 14.48 MB / 0.6203 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3715, allocations: 0 / 0.6203 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.3715, allocations: 4 kB / 0.6203 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004784/0.372, allocations: 0 / 0.6203 GB, free: 2.973 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.04294/0.4149, allocations: 8.929 MB / 0.6291 GB, free: 9.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.415, allocations: 8.031 kB / 0.6291 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/0.4418, allocations: 4.44 MB / 0.6334 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.4537, allocations: 4.63 MB / 0.6379 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/0.4542, allocations: 489.1 kB / 0.6384 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2543/0.7085, allocations: 0.6229 MB / 0.639 GB, free: 85.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/0.7367, allocations: 10.35 MB / 0.6491 GB, free: 82.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002185/0.7369, allocations: 12.94 kB / 0.6491 GB, free: 82.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/0.7385, allocations: 267.8 kB / 0.6494 GB, free: 82.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003282/0.7388, allocations: 418.9 kB / 0.6498 GB, free: 82.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.761, allocations: 9.867 MB / 0.6594 GB, free: 78.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/0.816, allocations: 35.4 MB / 0.694 GB, free: 44.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.8305, allocations: 20.4 MB / 0.7139 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.8338, allocations: 2.11 MB / 0.716 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.8341, allocations: 220 kB / 0.7162 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.8341, allocations: 68.88 kB / 0.7162 GB, free: 18.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 4.749e-06/0.8341, allocations: 0 / 0.7162 GB, free: 18.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01758/0.8517, allocations: 10.93 MB / 0.7269 GB, free: 7.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.8517, allocations: 89.66 kB / 0.727 GB, free: 7.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.8554, allocations: 3.022 MB / 0.7299 GB, free: 4.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.8557, allocations: 73.7 kB / 0.73 GB, free: 4.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.8568, allocations: 2.962 MB / 0.7329 GB, free: 1.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.8575, allocations: 1.09 MB / 0.734 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.8587, allocations: 0.9099 MB / 0.7349 GB, free: 15.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.8589, allocations: 305.1 kB / 0.7351 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.8622, allocations: 2.031 MB / 0.7371 GB, free: 13.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/0.8673, allocations: 3.728 MB / 0.7408 GB, free: 8.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/0.8759, allocations: 6.047 MB / 0.7467 GB, free: 2.152 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/0.8759, allocations: 16 kB / 0.7467 GB, free: 2.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01268/0.8886, allocations: 6.624 MB / 0.7532 GB, free: 11.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.8887, allocations: 28 kB / 0.7532 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.8888, allocations: 56 kB / 0.7532 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.8908, allocations: 0.6679 MB / 0.7539 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/0.8948, allocations: 1.065 MB / 0.7549 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.9049, allocations: 6.229 MB / 0.761 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.909, allocations: 295.5 kB / 0.7613 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007674/0.9098, allocations: 228 kB / 0.7615 GB, free: 2.773 MB / 478.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.00514/0.915, allocations: 2.315 MB / 0.7638 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009808/0.9159, allocations: 333.9 kB / 0.7641 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/0.9246, allocations: 4.611 MB / 0.7686 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.9247, allocations: 32 kB / 0.7686 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.9247, allocations: 15.94 kB / 0.7686 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/0.9247, allocations: 19.88 kB / 0.7687 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/0.9473, allocations: 11.06 MB / 0.7795 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.9474, allocations: 11.97 kB / 0.7795 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/0.9496, allocations: 0.5304 MB / 0.78 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.9514, allocations: 0.5662 MB / 0.7805 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003635/0.9517, allocations: 63.98 kB / 0.7806 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008122/0.9598, allocations: 5.467 MB / 0.7859 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.9599, allocations: 7.938 kB / 0.786 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.9714, allocations: 6.581 MB / 0.7924 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/0.9735, allocations: 0.7407 MB / 0.7931 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007175/0.9742, allocations: 67.92 kB / 0.7932 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.9761, allocations: 143.9 kB / 0.7933 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.9767, allocations: 206 kB / 0.7935 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.9769, allocations: 91.98 kB / 0.7936 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003941/0.9808, allocations: 2.013 MB / 0.7956 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.9808, allocations: 0 / 0.7956 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005036/0.9858, allocations: 1.176 MB / 0.7967 GB, free: 14.25 MB / 0.5137 GB 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.0006482/0.9865, allocations: 233.8 kB / 0.7969 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009372/0.9959, allocations: 4.82 MB / 0.8016 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/0.9959, allocations: 4 kB / 0.8016 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004295/1, allocations: 2.098 MB / 0.8037 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.004, allocations: 0.6549 MB / 0.8043 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.028, allocations: 11.24 MB / 0.8153 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005947/1.034, allocations: 4.15 MB / 0.8194 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004143/1.038, allocations: 1.322 MB / 0.8206 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/1.039, allocations: 275.4 kB / 0.8209 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/1.039, allocations: 4 kB / 0.8209 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of Templates: time 0.4015/1.441, allocations: 47.33 MB / 0.8671 GB, free: 193.3 MB / 0.5606 GB " [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: 7.956178681924939]