Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000902/0.0009022, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008201/0.0008204, allocations: 92.55 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0629/0.0629, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2738/0.2738, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.632e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4815, allocations: 100.5 MB / 0.68 GB, free: 8.078 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.4817, allocations: 72.09 kB / 0.68 GB, free: 8.043 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06138/0.5431, allocations: 24.67 MB / 0.7041 GB, free: 3.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5432, allocations: 0 / 0.7041 GB, free: 3.812 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.604e-05/0.5432, allocations: 21.31 kB / 0.7042 GB, free: 3.793 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004474/0.5477, allocations: 1.719 MB / 0.7058 GB, free: 2.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5478, allocations: 8.031 kB / 0.7058 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.5511, allocations: 0.5571 MB / 0.7064 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.5528, allocations: 0.7705 MB / 0.7071 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.5532, allocations: 243.4 kB / 0.7074 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5534, allocations: 48 kB / 0.7074 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/0.5549, allocations: 0.8231 MB / 0.7082 GB, free: 144 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5563, allocations: 0.8323 MB / 0.709 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5564, allocations: 3.938 kB / 0.709 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.5565, allocations: 0 / 0.709 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.5565, allocations: 16 kB / 0.709 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.5622, allocations: 3.38 MB / 0.7123 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.5635, allocations: 1.208 MB / 0.7135 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/0.5642, allocations: 0.5493 MB / 0.7141 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.5644, allocations: 24.52 kB / 0.7141 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5644, allocations: 46.62 kB / 0.7141 GB, free: 11.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 3.106e-06/0.5644, allocations: 0 / 0.7141 GB, free: 11.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.0116/0.576, allocations: 3.966 MB / 0.718 GB, free: 8.109 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.5761, allocations: 89.89 kB / 0.7181 GB, free: 8.004 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5771, allocations: 0.7018 MB / 0.7188 GB, free: 7.469 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.5774, allocations: 25.7 kB / 0.7188 GB, free: 7.438 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.5777, allocations: 498 kB / 0.7193 GB, free: 7.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.578, allocations: 306.6 kB / 0.7196 GB, free: 6.891 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.5781, allocations: 0 / 0.7196 GB, free: 6.891 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5782, allocations: 339.4 kB / 0.7199 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.5788, allocations: 428.3 kB / 0.7203 GB, free: 6.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.5795, allocations: 0.5235 MB / 0.7208 GB, free: 6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.5801, allocations: 468.3 kB / 0.7213 GB, free: 5.746 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5801, allocations: 0 / 0.7213 GB, free: 5.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01163/0.5918, allocations: 4.117 MB / 0.7253 GB, free: 2.184 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.5921, allocations: 0.7946 MB / 0.7261 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5921, allocations: 0 / 0.7261 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.5974, allocations: 1.671 MB / 0.7277 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.5981, allocations: 138.8 kB / 0.7278 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.6114, allocations: 7.066 MB / 0.7347 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.6129, allocations: 179.2 kB / 0.7349 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.613, allocations: 35.92 kB / 0.7349 GB, free: 10.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.613, allocations: 4 kB / 0.7349 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/0.6243, allocations: 3.968 MB / 0.7388 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6244, allocations: 4 kB / 0.7388 GB, free: 6.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/0.6295, allocations: 1.659 MB / 0.7404 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.6301, allocations: 131.8 kB / 0.7406 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.6435, allocations: 7.059 MB / 0.7474 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.6449, allocations: 171.2 kB / 0.7476 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.645, allocations: 32 kB / 0.7476 GB, free: 13.23 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.6454, allocations: 130.8 kB / 0.7478 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01148/0.6569, allocations: 3.972 MB / 0.7516 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.6574, allocations: 110.6 kB / 0.7517 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6694, allocations: 4.087 MB / 0.7557 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6694, allocations: 8 kB / 0.7557 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6694, allocations: 0 / 0.7557 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.6695, allocations: 7.922 kB / 0.7558 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.685, allocations: 5.618 MB / 0.7612 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.6851, allocations: 4 kB / 0.7612 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.6858, allocations: 119.8 kB / 0.7614 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/0.6909, allocations: 1.663 MB / 0.763 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.6912, allocations: 4 kB / 0.763 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.7031, allocations: 6.191 MB / 0.769 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7031, allocations: 0 / 0.769 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.7162, allocations: 4.846 MB / 0.7738 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.7167, allocations: 211.5 kB / 0.774 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.7169, allocations: 0 / 0.774 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7181, allocations: 131.9 kB / 0.7741 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/0.7186, allocations: 208.4 kB / 0.7743 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.7187, allocations: 24 kB / 0.7743 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006775/0.7194, allocations: 0.5372 MB / 0.7748 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.363e-06/0.7194, allocations: 0 / 0.7748 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001721/0.7211, allocations: 0.6161 MB / 0.7754 GB, free: 428 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01323/0.7344, allocations: 5.422 MB / 0.7807 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009119/0.7435, allocations: 3.413 MB / 0.7841 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7436, allocations: 0 / 0.7841 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004156/0.7478, allocations: 1.439 MB / 0.7855 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.7486, allocations: 76.22 kB / 0.7855 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.7523, allocations: 1.754 MB / 0.7873 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.753, allocations: 1.134 MB / 0.7884 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007152/0.7537, allocations: 156.6 kB / 0.7885 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.7542, allocations: 411.3 kB / 0.7889 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.7542, allocations: 0 / 0.7889 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/0.8179, allocations: 35.27 MB / 0.8233 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.8182, allocations: 129 kB / 0.8235 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.649, allocations: 0 / 0.8235 GB, free: 15.05 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)