Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009146/0.0009142, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 229.6 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 104.2 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5087/0.5087, allocations: 78.07 MB / 409.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.471e-05, allocations: 7.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 69.36 MB / 0.5414 GB, free: 6.707 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.6353, allocations: 96.61 MB / 0.6357 GB, free: 2.777 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6356, allocations: 76.8 kB / 0.6358 GB, free: 2.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05955/0.6952, allocations: 23.1 MB / 0.6583 GB, free: 11.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6953, allocations: 0 / 0.6583 GB, free: 11.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.6953, allocations: 20 kB / 0.6584 GB, free: 11.64 MB / 474.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.004168/0.6995, allocations: 1.597 MB / 0.6599 GB, free: 9.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.6996, allocations: 16.03 kB / 0.6599 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.7027, allocations: 0.5293 MB / 0.6605 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.704, allocations: 0.6835 MB / 0.6611 GB, free: 8.727 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.7043, allocations: 242.4 kB / 0.6614 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.7045, allocations: 39.91 kB / 0.6614 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/0.7058, allocations: 0.746 MB / 0.6621 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.707, allocations: 0.6946 MB / 0.6628 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.707, allocations: 3.984 kB / 0.6628 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.7071, allocations: 0 / 0.6628 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.7071, allocations: 16 kB / 0.6628 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.7124, allocations: 3.105 MB / 0.6659 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.7138, allocations: 1.117 MB / 0.6669 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.7145, allocations: 0.517 MB / 0.6675 GB, free: 1.949 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.7146, allocations: 12.77 kB / 0.6675 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.7147, allocations: 43.34 kB / 0.6675 GB, free: 1.883 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 3.246e-06/0.7147, allocations: 0 / 0.6675 GB, free: 1.883 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01208/0.7268, allocations: 3.918 MB / 0.6713 GB, free: 13.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.7269, allocations: 60.19 kB / 0.6714 GB, free: 13.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009947/0.7279, allocations: 0.6026 MB / 0.672 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.7281, allocations: 25.7 kB / 0.672 GB, free: 13.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.7284, allocations: 448.3 kB / 0.6724 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.7287, allocations: 279.8 kB / 0.6727 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.7288, allocations: 0 / 0.6727 GB, free: 12.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.729, allocations: 333.9 kB / 0.673 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.7296, allocations: 398.2 kB / 0.6734 GB, free: 11.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.7303, allocations: 499.5 kB / 0.6739 GB, free: 11.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.7309, allocations: 429.2 kB / 0.6743 GB, free: 10.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7309, allocations: 0 / 0.6743 GB, free: 10.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0119/0.7428, allocations: 4.051 MB / 0.6782 GB, free: 6.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.7429, allocations: 9.25 kB / 0.6782 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7429, allocations: 4.938 kB / 0.6782 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00543/0.7484, allocations: 1.674 MB / 0.6799 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.7491, allocations: 115.9 kB / 0.68 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.7632, allocations: 7.068 MB / 0.6869 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.7646, allocations: 155.3 kB / 0.687 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.7647, allocations: 28 kB / 0.6871 GB, free: 13.62 MB / 0.4948 GB 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.0002959/0.765, allocations: 115.3 kB / 0.6872 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01245/0.7775, allocations: 3.918 MB / 0.691 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.7781, allocations: 106.7 kB / 0.6911 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.7904, allocations: 4 MB / 0.695 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.7905, allocations: 12.75 kB / 0.695 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7905, allocations: 3.984 kB / 0.695 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/0.7905, allocations: 3.984 kB / 0.695 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.8051, allocations: 5.424 MB / 0.7003 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8052, allocations: 0 / 0.7003 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/0.8058, allocations: 95.89 kB / 0.7004 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005358/0.8112, allocations: 1.675 MB / 0.7021 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/0.8114, allocations: 6.75 kB / 0.7021 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.8247, allocations: 6.184 MB / 0.7081 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.8248, allocations: 0 / 0.7081 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.8385, allocations: 4.701 MB / 0.7127 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.8391, allocations: 183.7 kB / 0.7129 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.8395, allocations: 4 kB / 0.7129 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.8408, allocations: 115.9 kB / 0.713 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007084/0.8415, allocations: 204.3 kB / 0.7132 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.8417, allocations: 20 kB / 0.7132 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008419/0.8425, allocations: 475.1 kB / 0.7137 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8425, allocations: 0 / 0.7137 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001634/0.8442, allocations: 367.5 kB / 0.714 GB, free: 1.723 MB / 0.5105 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.01367/0.8579, allocations: 5.281 MB / 0.7192 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005309/0.8632, allocations: 1.855 MB / 0.721 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8633, allocations: 3.938 kB / 0.721 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004346/0.8676, allocations: 1.394 MB / 0.7223 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.8686, allocations: 60.52 kB / 0.7224 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.8722, allocations: 1.411 MB / 0.7238 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.8729, allocations: 1.048 MB / 0.7248 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003352/0.8732, allocations: 61.14 kB / 0.7249 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.8737, allocations: 367.3 kB / 0.7252 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.8737, allocations: 0 / 0.7252 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.9262, allocations: 25.11 MB / 0.7497 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.9264, allocations: 131.2 kB / 0.7498 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.583, allocations: 0 / 0.7498 GB, free: 13.06 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)