Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_release_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.005741/0.005741, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 103 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4973/0.4973, allocations: 78.59 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 12 kB / 499.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 69.36 MB / 0.5559 GB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6448, allocations: 97.33 MB / 0.6509 GB, free: 4.508 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.6451, allocations: 87.94 kB / 0.651 GB, free: 4.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06079/0.7059, allocations: 23.48 MB / 0.6739 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.7059, allocations: 4 kB / 0.6739 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.173e-05/0.706, allocations: 16 kB / 0.674 GB, free: 13.79 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.005776/0.7118, allocations: 1.783 MB / 0.6757 GB, free: 11.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.7119, allocations: 12.03 kB / 0.6757 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000401/0.7123, allocations: 118.5 kB / 0.6758 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.7157, allocations: 0.5459 MB / 0.6764 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.7175, allocations: 0.6835 MB / 0.677 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.7178, allocations: 256.2 kB / 0.6773 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.7181, allocations: 71.91 kB / 0.6773 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.7203, allocations: 1.026 MB / 0.6783 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7204, allocations: 0 / 0.6783 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.7205, allocations: 32 kB / 0.6784 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.7205, allocations: 16 kB / 0.6784 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.7228, allocations: 1.058 MB / 0.6794 GB, free: 8.055 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006893/0.7297, allocations: 3.225 MB / 0.6826 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.7319, allocations: 1.369 MB / 0.6839 GB, free: 3.188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.732, allocations: 9 kB / 0.6839 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.7321, allocations: 49.8 kB / 0.684 GB, free: 3.125 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.806e-06/0.7321, allocations: 4 kB / 0.684 GB, free: 3.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.02529/0.7574, allocations: 7.692 MB / 0.6915 GB, free: 11.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.7575, allocations: 60.41 kB / 0.6915 GB, free: 11.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.7586, allocations: 0.665 MB / 0.6922 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.7588, allocations: 37.7 kB / 0.6922 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.7591, allocations: 440.4 kB / 0.6926 GB, free: 10.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.7595, allocations: 295.7 kB / 0.6929 GB, free: 9.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.7596, allocations: 16 kB / 0.6929 GB, free: 9.863 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7597, allocations: 337.9 kB / 0.6933 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.7611, allocations: 0.6344 MB / 0.6939 GB, free: 8.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.7625, allocations: 0.7414 MB / 0.6946 GB, free: 8.125 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.7639, allocations: 0.6677 MB / 0.6953 GB, free: 7.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7639, allocations: 4 kB / 0.6953 GB, free: 7.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01393/0.7779, allocations: 4.77 MB / 0.6999 GB, free: 2.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.7779, allocations: 12 kB / 0.6999 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7779, allocations: 0 / 0.6999 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006489/0.7844, allocations: 2.099 MB / 0.702 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.785, allocations: 119.8 kB / 0.7021 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.8071, allocations: 9.985 MB / 0.7118 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8085, allocations: 177.3 kB / 0.712 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.8087, allocations: 28 kB / 0.712 GB, free: 6.109 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0005945/0.8093, allocations: 218.8 kB / 0.7122 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.8096, allocations: 102.8 kB / 0.7123 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.8235, allocations: 4.743 MB / 0.717 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8236, allocations: 8 kB / 0.717 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8236, allocations: 0 / 0.717 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.8236, allocations: 7.922 kB / 0.717 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.84, allocations: 6.235 MB / 0.7231 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.84, allocations: 0 / 0.7231 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.8407, allocations: 91.88 kB / 0.7232 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.8469, allocations: 2.062 MB / 0.7252 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.8472, allocations: 20 kB / 0.7252 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/0.867, allocations: 8.633 MB / 0.7336 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.8671, allocations: 2.344 kB / 0.7336 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/0.883, allocations: 5.673 MB / 0.7392 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.8836, allocations: 187.7 kB / 0.7394 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.8839, allocations: 16 kB / 0.7394 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.8851, allocations: 127.9 kB / 0.7395 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006975/0.8858, allocations: 204.6 kB / 0.7397 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.8859, allocations: 23.98 kB / 0.7397 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009145/0.8869, allocations: 0.5185 MB / 0.7402 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8869, allocations: 1.125 kB / 0.7402 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001649/0.8885, allocations: 399.5 kB / 0.7406 GB, free: 8.527 MB / 0.5261 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 () * Number of clocked 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.01609/0.9046, allocations: 6.261 MB / 0.7467 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006935/0.9116, allocations: 2.406 MB / 0.7491 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9117, allocations: 0 / 0.7491 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005275/0.9169, allocations: 1.688 MB / 0.7507 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.918, allocations: 75.94 kB / 0.7508 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/0.9443, allocations: 11.65 MB / 0.7622 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.9451, allocations: 1.048 MB / 0.7632 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003914/0.9455, allocations: 61.22 kB / 0.7632 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.9461, allocations: 368.8 kB / 0.7636 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/0.9461, allocations: 0 / 0.7636 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.9985, allocations: 26.97 MB / 0.7899 GB, free: 5.891 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.9987, allocations: 204.7 kB / 0.7901 GB, free: 5.645 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.661, allocations: 0 / 0.7901 GB, free: 5.645 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)