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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000731/0.0007309, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.303/1.303, allocations: 223.2 MB / 239 MB, free: 5.461 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.0009904/0.0009903, allocations: 176.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03326/0.03326, allocations: 8.785 MB / 350.2 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004246, allocations: 10.47 kB / 413.3 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08449, allocations: 52.56 MB / 465.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.0221/0.1066, allocations: 22.2 MB / 488 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.1221, allocations: 7.382 MB / 495.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.127, allocations: 163.5 kB / 495.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.1318, allocations: 1.236 MB / 496.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.1396, allocations: 2.249 MB / 499.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.1434, allocations: 1.037 MB / 0.4884 GB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.1563, allocations: 8.468 MB / 0.4967 GB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02231/0.1787, allocations: 11.12 MB / 0.5075 GB, free: 7.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.1834, allocations: 2.764 MB / 0.5102 GB, free: 4.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005149/0.1885, allocations: 3.211 MB / 0.5133 GB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.1905, allocations: 428 kB / 0.5138 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.1938, allocations: 0.7847 MB / 0.5145 GB, free: 116 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.1959, allocations: 1.343 MB / 0.5158 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.1986, allocations: 1.385 MB / 0.5172 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.2107, allocations: 12.13 MB / 0.529 GB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2108, allocations: 0 / 0.529 GB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.2108, allocations: 0 / 0.529 GB, free: 1.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003547/0.2111, allocations: 3.938 kB / 0.529 GB, free: 1.203 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.1994/0.4105, allocations: 7.448 MB / 0.5363 GB, free: 60.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.4106, allocations: 9.062 kB / 0.5363 GB, free: 60.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00489/0.4155, allocations: 1.046 MB / 0.5373 GB, free: 59.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02459/0.4401, allocations: 4.403 MB / 0.5416 GB, free: 58.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.4525, allocations: 4.466 MB / 0.546 GB, free: 57.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/0.4536, allocations: 488.5 kB / 0.5465 GB, free: 57.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/0.4569, allocations: 0.6311 MB / 0.5471 GB, free: 57.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.4837, allocations: 10.32 MB / 0.5572 GB, free: 51.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003769/0.4841, allocations: 7.844 kB / 0.5572 GB, free: 51.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00229/0.4864, allocations: 272.3 kB / 0.5574 GB, free: 51.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005291/0.4869, allocations: 416.3 kB / 0.5578 GB, free: 51.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/0.5075, allocations: 9.812 MB / 0.5674 GB, free: 41.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.5602, allocations: 35.76 MB / 0.6023 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/0.5785, allocations: 20.62 MB / 0.6225 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/0.5831, allocations: 2.309 MB / 0.6247 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.5836, allocations: 222.9 kB / 0.6249 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.879e-05/0.5837, allocations: 72.83 kB / 0.625 GB, free: 11.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 5.611e-06/0.5837, allocations: 0 / 0.625 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02575/0.6095, allocations: 11.58 MB / 0.6363 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.6096, allocations: 85.78 kB / 0.6364 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005158/0.6147, allocations: 3.005 MB / 0.6393 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003936/0.6151, allocations: 69.7 kB / 0.6394 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.617, allocations: 2.867 MB / 0.6422 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.6181, allocations: 1.027 MB / 0.6432 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.6185, allocations: 96 kB / 0.6433 GB, free: 8.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003655/0.6189, allocations: 496.1 kB / 0.6438 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.6222, allocations: 2.008 MB / 0.6457 GB, free: 5.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004577/0.6268, allocations: 3.705 MB / 0.6493 GB, free: 1.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/0.6317, allocations: 2.812 MB / 0.6521 GB, free: 14.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-05/0.6318, allocations: 16 kB / 0.6521 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01192/0.6437, allocations: 6.595 MB / 0.6585 GB, free: 7.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.6438, allocations: 36.22 kB / 0.6586 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.269e-05/0.6439, allocations: 52 kB / 0.6586 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.6456, allocations: 0.6767 MB / 0.6593 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/0.6494, allocations: 1.072 MB / 0.6603 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.6572, allocations: 5.8 MB / 0.666 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/0.6607, allocations: 271.5 kB / 0.6663 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008371/0.6615, allocations: 232 kB / 0.6665 GB, free: 15.43 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004751/0.6663, allocations: 2.311 MB / 0.6687 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009363/0.6672, allocations: 320 kB / 0.669 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/0.6757, allocations: 4.625 MB / 0.6736 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.6758, allocations: 32 kB / 0.6736 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.6758, allocations: 8 kB / 0.6736 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/0.6759, allocations: 19.92 kB / 0.6736 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/0.6971, allocations: 11.24 MB / 0.6846 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.6972, allocations: 4 kB / 0.6846 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/0.6994, allocations: 0.5344 MB / 0.6851 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.7009, allocations: 0.5663 MB / 0.6857 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/0.7013, allocations: 63.98 kB / 0.6857 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/0.7092, allocations: 5.04 MB / 0.6907 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.7093, allocations: 4 kB / 0.6907 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.722, allocations: 6.548 MB / 0.697 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/0.7244, allocations: 0.7467 MB / 0.6978 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009954/0.7254, allocations: 67.83 kB / 0.6978 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.7272, allocations: 147.8 kB / 0.698 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.7276, allocations: 210.1 kB / 0.6982 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.7278, allocations: 87.98 kB / 0.6983 GB, free: 14.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003628/0.7314, allocations: 1.997 MB / 0.7002 GB, free: 12.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7314, allocations: 3.938 kB / 0.7002 GB, free: 12.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005145/0.7366, allocations: 1.167 MB / 0.7014 GB, free: 11.11 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01051/0.7471, allocations: 7.244 MB / 0.7084 GB, free: 3.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1988/0.946, allocations: 4.988 MB / 0.7133 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.946, allocations: 1.062 kB / 0.7133 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003926/0.95, allocations: 2.258 MB / 0.7155 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/0.9534, allocations: 0.6196 MB / 0.7161 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06461/1.018, allocations: 32.12 MB / 0.7475 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.022, allocations: 4.156 MB / 0.7515 GB, free: 143 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003917/1.026, allocations: 1.329 MB / 0.7528 GB, free: 142.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/1.029, allocations: 2.249 MB / 0.755 GB, free: 140.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/1.029, allocations: 4 kB / 0.755 GB, free: 140.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.137, allocations: 85.84 MB / 0.8389 GB, free: 54.6 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.137, allocations: 210.3 kB / 0.8391 GB, free: 54.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/4.71, allocations: 0 / 0.8391 GB, free: 54.35 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) Environment - environmentSimulation: