Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001116/0.001116, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.2 MB / 218.5 MB, free: 9.148 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.0008351/0.0008351, allocations: 86.58 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07724/0.07724, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2866/0.2866, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 69.24 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5784, allocations: 98.75 MB / 0.6854 GB, free: 1.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5787, allocations: 81.7 kB / 0.6855 GB, free: 1.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06011/0.6388, allocations: 22.67 MB / 0.7076 GB, free: 14.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6388, allocations: 0 / 0.7076 GB, free: 14.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.121e-05/0.6389, allocations: 20 kB / 0.7076 GB, free: 14.32 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004825/0.6438, allocations: 1.593 MB / 0.7092 GB, free: 12.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.6438, allocations: 15.98 kB / 0.7092 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003365/0.6442, allocations: 117.9 kB / 0.7093 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/0.6475, allocations: 0.5408 MB / 0.7098 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.6492, allocations: 0.6911 MB / 0.7105 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.6495, allocations: 257.9 kB / 0.7107 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.6497, allocations: 70.19 kB / 0.7108 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6513, allocations: 0.7875 MB / 0.7116 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6513, allocations: 0 / 0.7116 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.6514, allocations: 24.56 kB / 0.7116 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.6515, allocations: 16 kB / 0.7116 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.6529, allocations: 0.7821 MB / 0.7124 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006289/0.6592, allocations: 3.226 MB / 0.7155 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.6609, allocations: 1.132 MB / 0.7166 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/0.6618, allocations: 0.5406 MB / 0.7172 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.6619, allocations: 12.78 kB / 0.7172 GB, free: 6.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.662, allocations: 50.22 kB / 0.7172 GB, free: 6.449 MB / 458.7 MB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.662, allocations: 0 / 0.7172 GB, free: 6.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.01212/0.6741, allocations: 3.98 MB / 0.7211 GB, free: 2.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.6742, allocations: 64.12 kB / 0.7212 GB, free: 2.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.6754, allocations: 0.6548 MB / 0.7218 GB, free: 2.414 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.6756, allocations: 40.58 kB / 0.7219 GB, free: 2.379 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.676, allocations: 439.3 kB / 0.7223 GB, free: 2.129 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.6764, allocations: 291.7 kB / 0.7225 GB, free: 1.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.6765, allocations: 18.88 kB / 0.7226 GB, free: 1.871 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6766, allocations: 337 kB / 0.7229 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.6773, allocations: 413.1 kB / 0.7233 GB, free: 1.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.6781, allocations: 0.4993 MB / 0.7238 GB, free: 1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.6789, allocations: 453.2 kB / 0.7242 GB, free: 0.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6789, allocations: 3.938 kB / 0.7242 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01275/0.6916, allocations: 4.121 MB / 0.7282 GB, free: 13.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.6917, allocations: 8 kB / 0.7282 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6917, allocations: 0 / 0.7282 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.6974, allocations: 1.706 MB / 0.7299 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.698, allocations: 127 kB / 0.73 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.7125, allocations: 7.275 MB / 0.7371 GB, free: 6.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7138, allocations: 173.9 kB / 0.7373 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.714, allocations: 23.56 kB / 0.7373 GB, free: 6.418 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0002747/0.7143, allocations: 155.6 kB / 0.7375 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.7146, allocations: 102.8 kB / 0.7376 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.7266, allocations: 4.083 MB / 0.7416 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7267, allocations: 8 kB / 0.7416 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7267, allocations: 0 / 0.7416 GB, free: 2.246 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.7267, allocations: 3.984 kB / 0.7416 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.7405, allocations: 5.593 MB / 0.747 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7406, allocations: 0 / 0.747 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/0.7411, allocations: 95.89 kB / 0.7471 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005187/0.7463, allocations: 1.683 MB / 0.7488 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.7464, allocations: 16 kB / 0.7488 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.7592, allocations: 6.313 MB / 0.7549 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7593, allocations: 4 kB / 0.7549 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.7721, allocations: 4.78 MB / 0.7596 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.7726, allocations: 195.5 kB / 0.7598 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.7728, allocations: 16 kB / 0.7598 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.7739, allocations: 127.9 kB / 0.7599 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/0.7745, allocations: 200.4 kB / 0.7601 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.7745, allocations: 20 kB / 0.7601 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007378/0.7753, allocations: 0.5109 MB / 0.7606 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7753, allocations: 0 / 0.7606 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001304/0.7766, allocations: 403.6 kB / 0.761 GB, free: 13.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (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 (50): * Single equations (assignments): 49 * 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.01337/0.79, allocations: 5.363 MB / 0.7663 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005156/0.7952, allocations: 1.921 MB / 0.7681 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7952, allocations: 4 kB / 0.7681 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.7994, allocations: 1.438 MB / 0.7696 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.8003, allocations: 74.31 kB / 0.7696 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.8039, allocations: 1.465 MB / 0.7711 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.8046, allocations: 1.052 MB / 0.7721 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.8049, allocations: 61.22 kB / 0.7721 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.8054, allocations: 363.3 kB / 0.7725 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.8054, allocations: 3.938 kB / 0.7725 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.856, allocations: 26.87 MB / 0.7987 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.8562, allocations: 171.1 kB / 0.7989 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.532, allocations: 4 kB / 0.7989 GB, free: 7.102 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)