Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.007612/0.007612, allocations: 171 kB / 15.11 MB, free: 5.973 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.577/1.577, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.000985/0.0009851, allocations: 86.84 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06621/0.06621, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4584/0.4584, allocations: 78.5 MB / 459.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.0005249, allocations: 18 kB / 0.528 GB, free: 35.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.5338, allocations: 100.3 MB / 0.6936 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.5342, allocations: 82.92 kB / 0.6937 GB, free: 35.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06599/0.6002, allocations: 25.18 MB / 0.7183 GB, free: 32.94 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6003, allocations: 0 / 0.7183 GB, free: 32.94 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001891/0.6005, allocations: 22.81 kB / 0.7183 GB, free: 32.93 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006954/0.6074, allocations: 1.996 MB / 0.7203 GB, free: 32.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6075, allocations: 11.73 kB / 0.7203 GB, free: 32.05 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00056/0.6081, allocations: 129.7 kB / 0.7204 GB, free: 32.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.6116, allocations: 0.569 MB / 0.721 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.6136, allocations: 0.7489 MB / 0.7217 GB, free: 31.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.6139, allocations: 265 kB / 0.7219 GB, free: 31.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.6142, allocations: 79.75 kB / 0.722 GB, free: 31.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.6168, allocations: 1.159 MB / 0.7231 GB, free: 31.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.6168, allocations: 7.797 kB / 0.7232 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6169, allocations: 32.34 kB / 0.7232 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.6169, allocations: 27.06 kB / 0.7232 GB, free: 31.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.6194, allocations: 1.236 MB / 0.7244 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006524/0.6259, allocations: 3.556 MB / 0.7279 GB, free: 30.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.6278, allocations: 1.515 MB / 0.7294 GB, free: 29.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.6279, allocations: 20.61 kB / 0.7294 GB, free: 29.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.628, allocations: 46.66 kB / 0.7294 GB, free: 29.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.628, allocations: 0 / 0.7294 GB, free: 29.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.02638/0.6544, allocations: 8.503 MB / 0.7377 GB, free: 28.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.6545, allocations: 67.75 kB / 0.7378 GB, free: 28.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6559, allocations: 0.7421 MB / 0.7385 GB, free: 28.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.6562, allocations: 40.48 kB / 0.7386 GB, free: 28.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.6566, allocations: 0.5047 MB / 0.7391 GB, free: 28.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000521/0.6571, allocations: 334.8 kB / 0.7394 GB, free: 28.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.6573, allocations: 18.34 kB / 0.7394 GB, free: 28.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6574, allocations: 339.2 kB / 0.7397 GB, free: 28.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.6589, allocations: 0.7235 MB / 0.7404 GB, free: 28.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.6604, allocations: 0.8247 MB / 0.7412 GB, free: 27.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.6619, allocations: 0.762 MB / 0.742 GB, free: 27.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6619, allocations: 0 / 0.742 GB, free: 27.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01311/0.6751, allocations: 4.959 MB / 0.7468 GB, free: 27.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.6751, allocations: 7.812 kB / 0.7468 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6751, allocations: 3.906 kB / 0.7468 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/0.6812, allocations: 2.103 MB / 0.7489 GB, free: 26.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.682, allocations: 168.7 kB / 0.749 GB, free: 26.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.7028, allocations: 9.989 MB / 0.7588 GB, free: 23.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.7045, allocations: 205.2 kB / 0.759 GB, free: 23.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.7048, allocations: 32.83 kB / 0.759 GB, free: 23.62 MB / 474.7 MB 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 (76): * Single equations (assignments): 75 * 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.0009036/0.7057, allocations: 233.6 kB / 0.7593 GB, free: 23.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.7061, allocations: 120.7 kB / 0.7594 GB, free: 23.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.7192, allocations: 4.965 MB / 0.7642 GB, free: 21.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.7192, allocations: 15.72 kB / 0.7642 GB, free: 21.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7193, allocations: 0 / 0.7642 GB, free: 21.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/0.7193, allocations: 3.984 kB / 0.7642 GB, free: 21.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.7348, allocations: 6.558 MB / 0.7706 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.7349, allocations: 0 / 0.7706 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.7358, allocations: 151.9 kB / 0.7708 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/0.7416, allocations: 2.063 MB / 0.7728 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.7419, allocations: 18.55 kB / 0.7728 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.7596, allocations: 8.636 MB / 0.7812 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.7596, allocations: 11.89 kB / 0.7813 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.7749, allocations: 5.99 MB / 0.7871 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.7754, allocations: 208.2 kB / 0.7873 GB, free: 8.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.7759, allocations: 17.5 kB / 0.7873 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.7773, allocations: 153.7 kB / 0.7875 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008352/0.7782, allocations: 217.5 kB / 0.7877 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.7783, allocations: 28.55 kB / 0.7877 GB, free: 7.746 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009552/0.7793, allocations: 0.5811 MB / 0.7883 GB, free: 7.301 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7793, allocations: 0 / 0.7883 GB, free: 7.301 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00184/0.7812, allocations: 429.8 kB / 0.7887 GB, free: 6.918 MB / 474.7 MB 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 (65): * Single equations (assignments): 64 * 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.01544/0.7966, allocations: 6.6 MB / 0.7951 GB, free: 320 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007163/0.8038, allocations: 2.591 MB / 0.7977 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8039, allocations: 4.188 kB / 0.7977 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005306/0.8092, allocations: 1.806 MB / 0.7994 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.8102, allocations: 76.36 kB / 0.7995 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.8387, allocations: 12.79 MB / 0.812 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.8395, allocations: 1.118 MB / 0.8131 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.84, allocations: 73.56 kB / 0.8131 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006431/0.8406, allocations: 423.3 kB / 0.8136 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of SimCode: time 6.01e-07/0.8406, allocations: 0 / 0.8136 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.8929, allocations: 29.17 MB / 0.842 GB, free: 64 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.8932, allocations: 216.2 kB / 0.8422 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.559, allocations: 0 / 0.8422 GB, free: 15.82 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)