Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007873/0.007873, allocations: 103.2 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03629/0.03629, allocations: 8.789 MB / 348.6 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.89 kB / 463.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1148, allocations: 51.58 MB / 0.5034 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2465/0.3614, allocations: 25.4 MB / 0.5282 GB, free: 4.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.3767, allocations: 8.027 MB / 0.5361 GB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005724/0.3825, allocations: 167.5 kB / 0.5362 GB, free: 4.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01408/0.3966, allocations: 6.103 MB / 0.5422 GB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009078/0.4057, allocations: 2.745 MB / 0.5449 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.4101, allocations: 1.604 MB / 0.5465 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009393/0.4195, allocations: 7.291 MB / 0.5536 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01794/0.4375, allocations: 13.31 MB / 0.5666 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005859/0.4434, allocations: 3.755 MB / 0.5702 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007202/0.4506, allocations: 4.218 MB / 0.5744 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.4529, allocations: 1.07 MB / 0.5754 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.4565, allocations: 1.438 MB / 0.5768 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.4584, allocations: 2.142 MB / 0.5789 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006215/0.4647, allocations: 4.11 MB / 0.5829 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4782, allocations: 14.45 MB / 0.597 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4783, allocations: 0 / 0.597 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4783, allocations: 0 / 0.597 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002312/0.4785, allocations: 0 / 0.597 GB, free: 14.9 MB / 414.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.02142/0.4999, allocations: 8.778 MB / 0.6056 GB, free: 6.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5, allocations: 12.03 kB / 0.6056 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02378/0.5238, allocations: 4.401 MB / 0.6099 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008849/0.5326, allocations: 4.613 MB / 0.6144 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.533, allocations: 489.5 kB / 0.6149 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.5344, allocations: 0.6251 MB / 0.6155 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.5524, allocations: 10.35 MB / 0.6256 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.5526, allocations: 19.83 kB / 0.6256 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000658/0.5533, allocations: 265.9 kB / 0.6259 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/0.5536, allocations: 417.7 kB / 0.6263 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.5696, allocations: 9.867 MB / 0.6359 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/0.6248, allocations: 35.3 MB / 0.6704 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/0.6431, allocations: 20.66 MB / 0.6905 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/0.6472, allocations: 2.306 MB / 0.6928 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.6477, allocations: 232.1 kB / 0.693 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/0.6478, allocations: 64.89 kB / 0.6931 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.961e-06/0.6478, allocations: 0 / 0.6931 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02168/0.6695, allocations: 10.88 MB / 0.7037 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.6696, allocations: 81.78 kB / 0.7038 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004993/0.6746, allocations: 3.021 MB / 0.7067 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.6752, allocations: 77.7 kB / 0.7068 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.6771, allocations: 2.863 MB / 0.7096 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.6782, allocations: 1.029 MB / 0.7106 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.6796, allocations: 0.9094 MB / 0.7115 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.6797, allocations: 301.1 kB / 0.7118 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.6825, allocations: 2.024 MB / 0.7138 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.6866, allocations: 3.724 MB / 0.7174 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/0.6946, allocations: 6.043 MB / 0.7233 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.807e-05/0.6947, allocations: 16 kB / 0.7233 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01116/0.7059, allocations: 6.629 MB / 0.7298 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.706, allocations: 33.56 kB / 0.7298 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.311e-05/0.7061, allocations: 52.22 kB / 0.7299 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.7079, allocations: 0.6757 MB / 0.7305 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2795/0.9874, allocations: 1.064 MB / 0.7316 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008245/0.9957, allocations: 6.226 MB / 0.7376 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.9993, allocations: 276.8 kB / 0.7379 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005667/0.9999, allocations: 234.5 kB / 0.7381 GB, free: 165.1 MB / 0.5294 GB 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.00388/1.004, allocations: 2.305 MB / 0.7404 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/1.004, allocations: 325.2 kB / 0.7407 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007828/1.012, allocations: 4.63 MB / 0.7452 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.012, allocations: 31.47 kB / 0.7452 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.012, allocations: 6.094 kB / 0.7453 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-05/1.012, allocations: 19.53 kB / 0.7453 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.033, allocations: 11.09 MB / 0.7561 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.033, allocations: 3.844 kB / 0.7561 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.035, allocations: 0.5304 MB / 0.7566 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/1.036, allocations: 0.5662 MB / 0.7572 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/1.036, allocations: 73.11 kB / 0.7572 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/1.043, allocations: 5.457 MB / 0.7626 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.043, allocations: 3.969 kB / 0.7626 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/1.051, allocations: 6.584 MB / 0.769 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.053, allocations: 0.7257 MB / 0.7697 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/1.054, allocations: 55.94 kB / 0.7698 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.055, allocations: 146 kB / 0.7699 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/1.056, allocations: 215.1 kB / 0.7701 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.056, allocations: 87.28 kB / 0.7702 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002546/1.058, allocations: 2.015 MB / 0.7722 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/1.058, allocations: 0 / 0.7722 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003447/1.062, allocations: 1.174 MB / 0.7733 GB, free: 152.2 MB / 0.5294 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.0003902/1.062, allocations: 236.1 kB / 0.7735 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006681/1.069, allocations: 5.035 MB / 0.7785 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.069, allocations: 0 / 0.7785 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002978/1.072, allocations: 2.269 MB / 0.7807 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.075, allocations: 0.6487 MB / 0.7813 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.089, allocations: 10.97 MB / 0.792 GB, free: 140 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/1.092, allocations: 4.146 MB / 0.7961 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003232/1.095, allocations: 1.326 MB / 0.7974 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/1.096, allocations: 275.4 kB / 0.7976 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/1.096, allocations: 0 / 0.7976 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.06665/1.163, allocations: 45.26 MB / 0.8418 GB, free: 89.29 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)