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.001044/0.001044, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.334/1.334, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001191/0.001191, allocations: 188.1 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0318/0.0318, allocations: 8.775 MB / 350 MB, free: 4.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.000364, allocations: 14.25 kB / 413.2 MB, free: 43.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09305, allocations: 52.56 MB / 465.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.0239/0.117, allocations: 20.4 MB / 486.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.1374, allocations: 7.588 MB / 493.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/0.1424, allocations: 151.6 kB / 493.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005913/0.1484, allocations: 1.516 MB / 495.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009516/0.1579, allocations: 2.721 MB / 498.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.1628, allocations: 1.248 MB / 499.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.1745, allocations: 6.242 MB / 0.4937 GB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02224/0.1968, allocations: 10.98 MB / 0.5045 GB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.2014, allocations: 2.558 MB / 0.507 GB, free: 7.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.2061, allocations: 2.903 MB / 0.5098 GB, free: 5.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.2077, allocations: 424 kB / 0.5102 GB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.2106, allocations: 0.7261 MB / 0.5109 GB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00201/0.2127, allocations: 1.297 MB / 0.5122 GB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.215, allocations: 1.389 MB / 0.5135 GB, free: 1.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.2283, allocations: 12.08 MB / 0.5253 GB, free: 5.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2284, allocations: 0 / 0.5253 GB, free: 5.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.2284, allocations: 0 / 0.5253 GB, free: 5.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004554/0.2288, allocations: 0 / 0.5253 GB, free: 5.074 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.2086/0.4375, allocations: 7.404 MB / 0.5326 GB, free: 57.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4376, allocations: 7.188 kB / 0.5326 GB, free: 57.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00335/0.4409, allocations: 1.047 MB / 0.5336 GB, free: 57.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02549/0.4664, allocations: 4.302 MB / 0.5378 GB, free: 57.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.4773, allocations: 4.427 MB / 0.5421 GB, free: 56.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005099/0.4779, allocations: 486.3 kB / 0.5426 GB, free: 56.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/0.4801, allocations: 0.6286 MB / 0.5432 GB, free: 56.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.5033, allocations: 10.26 MB / 0.5532 GB, free: 51.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.5036, allocations: 15.81 kB / 0.5532 GB, free: 51.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.5046, allocations: 265.5 kB / 0.5535 GB, free: 51.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003893/0.505, allocations: 418.3 kB / 0.5539 GB, free: 50.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.5221, allocations: 9.82 MB / 0.5635 GB, free: 43.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04849/0.5706, allocations: 35.76 MB / 0.5984 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.5873, allocations: 20.64 MB / 0.6185 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/0.5879, allocations: 221.2 kB / 0.6188 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.5879, allocations: 68.89 kB / 0.6188 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 5.02e-06/0.588, allocations: 0 / 0.6188 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02064/0.6086, allocations: 10.83 MB / 0.6294 GB, free: 4.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.6087, allocations: 81.78 kB / 0.6295 GB, free: 4.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/0.6135, allocations: 2.99 MB / 0.6324 GB, free: 1.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.614, allocations: 73.7 kB / 0.6325 GB, free: 1.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.6161, allocations: 2.869 MB / 0.6353 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.6172, allocations: 1.031 MB / 0.6363 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.6174, allocations: 92 kB / 0.6364 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003151/0.6177, allocations: 0.4921 MB / 0.6368 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.6207, allocations: 2.024 MB / 0.6388 GB, free: 10.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004222/0.625, allocations: 3.693 MB / 0.6424 GB, free: 6.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.6293, allocations: 2.836 MB / 0.6452 GB, free: 3.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/0.6294, allocations: 16 kB / 0.6452 GB, free: 3.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01236/0.6418, allocations: 6.615 MB / 0.6517 GB, free: 12.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.6419, allocations: 31.95 kB / 0.6517 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.642, allocations: 56 kB / 0.6518 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.6438, allocations: 0.6744 MB / 0.6524 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/0.6478, allocations: 1.069 MB / 0.6535 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008348/0.6562, allocations: 5.865 MB / 0.6592 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.66, allocations: 279.5 kB / 0.6594 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008422/0.6608, allocations: 228 kB / 0.6597 GB, free: 4.273 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * 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 (562): * Single equations (assignments): 561 * 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,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005111/0.666, allocations: 2.311 MB / 0.6619 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.6671, allocations: 324 kB / 0.6622 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008461/0.6756, allocations: 4.653 MB / 0.6668 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.48e-05/0.6756, allocations: 35.95 kB / 0.6668 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6756, allocations: 7.938 kB / 0.6668 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.6757, allocations: 15.94 kB / 0.6668 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.6944, allocations: 11.01 MB / 0.6776 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.6944, allocations: 4.562 kB / 0.6776 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/0.6966, allocations: 0.5383 MB / 0.6781 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/0.6982, allocations: 0.567 MB / 0.6787 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.6984, allocations: 67.98 kB / 0.6787 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.7055, allocations: 5.225 MB / 0.6838 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7055, allocations: 4 kB / 0.6838 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.716, allocations: 7.02 MB / 0.6907 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/0.7182, allocations: 0.7545 MB / 0.6914 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/0.7189, allocations: 63.95 kB / 0.6915 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.7205, allocations: 147.9 kB / 0.6916 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.7209, allocations: 202 kB / 0.6918 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7211, allocations: 87.98 kB / 0.6919 GB, free: 2.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003141/0.7242, allocations: 1.993 MB / 0.6939 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.836e-06/0.7242, allocations: 3.938 kB / 0.6939 GB, free: 500 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.004701/0.7289, allocations: 1.179 MB / 0.695 GB, free: 15.31 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01114/0.7401, allocations: 8.726 MB / 0.7035 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008542/0.7487, allocations: 5.018 MB / 0.7084 GB, free: 1.312 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.7488, allocations: 4.312 kB / 0.7084 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2047/0.9534, allocations: 2.237 MB / 0.7106 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.9563, allocations: 0.5675 MB / 0.7112 GB, free: 160.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07721/1.033, allocations: 69.39 MB / 0.7789 GB, free: 108.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005231/1.039, allocations: 4.256 MB / 0.7831 GB, free: 107.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004258/1.043, allocations: 1.327 MB / 0.7844 GB, free: 106.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003408/1.046, allocations: 2.252 MB / 0.7866 GB, free: 104.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/1.047, allocations: 0 / 0.7866 GB, free: 104.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.152, allocations: 85.73 MB / 0.8703 GB, free: 20.18 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001205/1.152, allocations: 201.4 kB / 0.8705 GB, free: 19.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/4.856, allocations: 0 / 0.8705 GB, free: 19.94 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: