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.001051/0.001051, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001635/0.001635, allocations: 184.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.03378/0.03378, allocations: 8.799 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 72.16 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08715, allocations: 51.57 MB / 0.5034 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.1942/0.2813, allocations: 25.42 MB / 0.5283 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2934, allocations: 8.018 MB / 0.5361 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.2971, allocations: 173 kB / 0.5362 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.3082, allocations: 6.101 MB / 0.5422 GB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006418/0.3147, allocations: 2.737 MB / 0.5449 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.3183, allocations: 1.622 MB / 0.5465 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007687/0.326, allocations: 7.274 MB / 0.5536 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01793/0.3439, allocations: 13.36 MB / 0.5666 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.3489, allocations: 3.729 MB / 0.5703 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006198/0.3551, allocations: 4.225 MB / 0.5744 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003624/0.3588, allocations: 1.07 MB / 0.5754 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.3642, allocations: 1.433 MB / 0.5768 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002706/0.367, allocations: 2.149 MB / 0.5789 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006157/0.3731, allocations: 4.109 MB / 0.5829 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.387, allocations: 14.48 MB / 0.5971 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.387, allocations: 0 / 0.5971 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.387, allocations: 0 / 0.5971 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.3873, allocations: 4 kB / 0.5971 GB, free: 14.98 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.02128/0.4086, allocations: 8.929 MB / 0.6058 GB, free: 6.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4086, allocations: 12.02 kB / 0.6058 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02349/0.4321, allocations: 4.436 MB / 0.6101 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/0.4419, allocations: 4.625 MB / 0.6147 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/0.4424, allocations: 485.7 kB / 0.6151 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/0.4445, allocations: 0.6235 MB / 0.6157 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.466, allocations: 10.36 MB / 0.6258 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.4663, allocations: 15.88 kB / 0.6259 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.4678, allocations: 268.8 kB / 0.6261 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/0.4682, allocations: 417.7 kB / 0.6265 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.4857, allocations: 9.864 MB / 0.6361 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05757/0.5432, allocations: 35.39 MB / 0.6707 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01914/0.5624, allocations: 20.66 MB / 0.6909 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/0.566, allocations: 2.305 MB / 0.6931 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/0.5664, allocations: 224.1 kB / 0.6934 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.5664, allocations: 64.89 kB / 0.6934 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.849e-06/0.5664, allocations: 0 / 0.6934 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0206/0.5871, allocations: 10.96 MB / 0.7041 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.5871, allocations: 81.78 kB / 0.7042 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/0.5921, allocations: 3.029 MB / 0.7072 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/0.5923, allocations: 73.7 kB / 0.7072 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.5941, allocations: 2.966 MB / 0.7101 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008155/0.5949, allocations: 1.08 MB / 0.7112 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.5963, allocations: 0.9099 MB / 0.7121 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.5964, allocations: 305.1 kB / 0.7124 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.5993, allocations: 2.027 MB / 0.7143 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.6031, allocations: 3.72 MB / 0.718 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006951/0.61, allocations: 6.043 MB / 0.7239 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-05/0.6101, allocations: 20 kB / 0.7239 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01015/0.6202, allocations: 6.647 MB / 0.7304 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.6203, allocations: 28 kB / 0.7304 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.587e-05/0.6204, allocations: 59.94 kB / 0.7305 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.6221, allocations: 0.6593 MB / 0.7311 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2026/0.8247, allocations: 1.076 MB / 0.7322 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/0.8321, allocations: 6.222 MB / 0.7382 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.8354, allocations: 284.2 kB / 0.7385 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.8357, allocations: 226.3 kB / 0.7387 GB, free: 165.3 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.003376/0.8391, allocations: 2.316 MB / 0.741 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.8397, allocations: 336 kB / 0.7413 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/0.8469, allocations: 4.629 MB / 0.7458 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.8469, allocations: 34.55 kB / 0.7459 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.8469, allocations: 5.844 kB / 0.7459 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.847, allocations: 16.81 kB / 0.7459 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.8625, allocations: 11.09 MB / 0.7567 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.8625, allocations: 12.91 kB / 0.7567 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.8644, allocations: 0.5287 MB / 0.7572 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.8658, allocations: 0.567 MB / 0.7578 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.8659, allocations: 69.42 kB / 0.7579 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/0.8716, allocations: 5.456 MB / 0.7632 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.8717, allocations: 17.22 kB / 0.7632 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007932/0.8796, allocations: 6.601 MB / 0.7697 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8809, allocations: 0.7357 MB / 0.7704 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/0.8813, allocations: 58.97 kB / 0.7704 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.8828, allocations: 154.7 kB / 0.7706 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/0.8831, allocations: 201.5 kB / 0.7708 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.8833, allocations: 90.73 kB / 0.7709 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002218/0.8855, allocations: 2.017 MB / 0.7728 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8855, allocations: 0 / 0.7728 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003155/0.8886, allocations: 1.172 MB / 0.774 GB, free: 152.4 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.0003642/0.889, allocations: 240.9 kB / 0.7742 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006109/0.8951, allocations: 5.032 MB / 0.7791 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8952, allocations: 64 / 0.7791 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.8979, allocations: 2.266 MB / 0.7813 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.9004, allocations: 0.6442 MB / 0.782 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.9133, allocations: 11.17 MB / 0.7929 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.9159, allocations: 4.146 MB / 0.7969 GB, free: 135 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002878/0.9188, allocations: 1.33 MB / 0.7982 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/0.9195, allocations: 275.4 kB / 0.7985 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.9195, allocations: 0 / 0.7985 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.05782/0.9773, allocations: 45.24 MB / 0.8427 GB, free: 88.41 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)