Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001917/0.001917, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.442/1.442, allocations: 177.2 MB / 200.1 MB, free: 9.039 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.001484/0.001484, allocations: 164.1 kB / 256.6 MB, free: 0.7617 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.04328/0.04328, allocations: 6.67 MB / 319.6 MB, free: 48.48 MB / 286.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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [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.004239/0.004239, allocations: 83.88 kB / 446.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2733, allocations: 55.58 MB / 0.4903 GB, free: 25.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01807/0.2914, allocations: 21.98 MB / 0.5117 GB, free: 3.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3061, allocations: 7.761 MB / 0.5193 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.3106, allocations: 211 kB / 0.5195 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01542/0.326, allocations: 6.011 MB / 0.5254 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008697/0.3347, allocations: 2.777 MB / 0.5281 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.3399, allocations: 1.616 MB / 0.5297 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.3517, allocations: 7.394 MB / 0.5369 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01852/0.3703, allocations: 8.987 MB / 0.5457 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/0.377, allocations: 3.842 MB / 0.5494 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007431/0.3845, allocations: 4.04 MB / 0.5534 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002523/0.387, allocations: 1.07 MB / 0.5544 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.391, allocations: 1.441 MB / 0.5558 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.3941, allocations: 2.151 MB / 0.5579 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.3996, allocations: 3.206 MB / 0.5611 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.417, allocations: 14.56 MB / 0.5753 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.417, allocations: 0 / 0.5753 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.417, allocations: 0 / 0.5753 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002875/0.4173, allocations: 0 / 0.5753 GB, free: 2.516 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.02454/0.4418, allocations: 8.886 MB / 0.584 GB, free: 9.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4419, allocations: 12.03 kB / 0.584 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02539/0.4673, allocations: 4.424 MB / 0.5883 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.478, allocations: 4.621 MB / 0.5928 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/0.4785, allocations: 489.1 kB / 0.5933 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.4803, allocations: 0.6249 MB / 0.5939 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.5026, allocations: 10.48 MB / 0.6041 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.5028, allocations: 19.83 kB / 0.6041 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009054/0.5037, allocations: 264 kB / 0.6044 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004908/0.5042, allocations: 417.6 kB / 0.6048 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2493/0.7535, allocations: 9.848 MB / 0.6144 GB, free: 95.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03998/0.7935, allocations: 29.7 MB / 0.6434 GB, free: 72.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.8051, allocations: 6.688 MB / 0.6499 GB, free: 66.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.8077, allocations: 2.104 MB / 0.652 GB, free: 64.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.808, allocations: 78.25 kB / 0.6521 GB, free: 64.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.808, allocations: 68.88 kB / 0.6521 GB, free: 64.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 6.192e-06/0.808, allocations: 2.656 kB / 0.6521 GB, free: 64.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.01752/0.8255, allocations: 10.8 MB / 0.6627 GB, free: 53.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.8256, allocations: 85.72 kB / 0.6628 GB, free: 53.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.8288, allocations: 2.886 MB / 0.6656 GB, free: 50.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.829, allocations: 73.7 kB / 0.6656 GB, free: 50.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.83, allocations: 2.979 MB / 0.6686 GB, free: 47.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.8306, allocations: 1.087 MB / 0.6696 GB, free: 46.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.8316, allocations: 0.9216 MB / 0.6705 GB, free: 45.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.8317, allocations: 301.1 kB / 0.6708 GB, free: 45.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.834, allocations: 2.031 MB / 0.6728 GB, free: 43.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.8369, allocations: 3.749 MB / 0.6764 GB, free: 39.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005822/0.8427, allocations: 6.062 MB / 0.6824 GB, free: 32.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/0.8428, allocations: 19.94 kB / 0.6824 GB, free: 32.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009388/0.8522, allocations: 6.621 MB / 0.6889 GB, free: 25.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.8522, allocations: 28 kB / 0.6889 GB, free: 25.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.162e-05/0.8523, allocations: 59.94 kB / 0.6889 GB, free: 25.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.8539, allocations: 0.6765 MB / 0.6896 GB, free: 24.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.8574, allocations: 1.065 MB / 0.6906 GB, free: 23.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/0.8645, allocations: 5.995 MB / 0.6965 GB, free: 17.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.8683, allocations: 275.6 kB / 0.6968 GB, free: 17.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/0.8688, allocations: 235.9 kB / 0.697 GB, free: 17.08 MB / 462.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.003462/0.8723, allocations: 2.323 MB / 0.6992 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.873, allocations: 318 kB / 0.6996 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006682/0.8797, allocations: 4.6 MB / 0.704 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.8797, allocations: 39.94 kB / 0.7041 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.8797, allocations: 4 kB / 0.7041 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.8797, allocations: 15.94 kB / 0.7041 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.8947, allocations: 9.543 MB / 0.7134 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.8947, allocations: 4 kB / 0.7134 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/0.897, allocations: 0.5382 MB / 0.714 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.8989, allocations: 0.5654 MB / 0.7145 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/0.8992, allocations: 67.98 kB / 0.7146 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008814/0.9081, allocations: 5.231 MB / 0.7197 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.9081, allocations: 7.938 kB / 0.7197 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.9211, allocations: 6.574 MB / 0.7261 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/0.9232, allocations: 0.6383 MB / 0.7267 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009612/0.9242, allocations: 59.98 kB / 0.7268 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/0.9265, allocations: 143.9 kB / 0.7269 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/0.9271, allocations: 221.8 kB / 0.7271 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003103/0.9274, allocations: 95.97 kB / 0.7272 GB, free: 1.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004439/0.9318, allocations: 1.84 MB / 0.729 GB, free: 15.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9318, allocations: 0 / 0.729 GB, free: 15.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005585/0.9374, allocations: 1.168 MB / 0.7302 GB, free: 14.69 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.0006741/0.9381, allocations: 229.8 kB / 0.7304 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.9487, allocations: 4.839 MB / 0.7351 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.9487, allocations: 4 kB / 0.7351 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004781/0.9534, allocations: 2.106 MB / 0.7372 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/0.9574, allocations: 0.5741 MB / 0.7377 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/0.9792, allocations: 11.2 MB / 0.7487 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005764/0.985, allocations: 3.643 MB / 0.7522 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004082/0.9891, allocations: 1.305 MB / 0.7535 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.9902, allocations: 280.4 kB / 0.7538 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.9902, allocations: 0 / 0.7538 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.08692/1.077, allocations: 43.15 MB / 0.7959 GB, free: 11.61 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0801012750016525] Failed to read output from testmodel.py, exit status != 0: 1.0889890119433403 1.102767282 0.682327507 Calling exit ...