Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.187/1.187, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 101.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4305/0.4305, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 69.51 MB / 0.5492 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.444, allocations: 99.45 MB / 0.6463 GB, free: 132 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4443, allocations: 83.94 kB / 0.6464 GB, free: 48 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06888/0.5132, allocations: 26.56 MB / 0.6723 GB, free: 5.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5132, allocations: 0 / 0.6723 GB, free: 5.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.159e-05/0.5133, allocations: 24 kB / 0.6724 GB, free: 5.266 MB / 490.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.004526/0.5178, allocations: 1.781 MB / 0.6741 GB, free: 3.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5178, allocations: 15.97 kB / 0.6741 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.5181, allocations: 126.8 kB / 0.6742 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.5212, allocations: 0.5642 MB / 0.6748 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.5226, allocations: 0.7325 MB / 0.6755 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5229, allocations: 268.1 kB / 0.6758 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5231, allocations: 83.91 kB / 0.6758 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5247, allocations: 0.8704 MB / 0.6767 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5247, allocations: 0 / 0.6767 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.5248, allocations: 28 kB / 0.6767 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.5248, allocations: 20 kB / 0.6767 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2898/0.8147, allocations: 0.8612 MB / 0.6776 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007361/0.8221, allocations: 3.59 MB / 0.6811 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.8235, allocations: 1.227 MB / 0.6823 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.8245, allocations: 0.5855 MB / 0.6829 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.8246, allocations: 18.75 kB / 0.6829 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.8246, allocations: 45.34 kB / 0.6829 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.8246, allocations: 0 / 0.6829 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01239/0.837, allocations: 4.083 MB / 0.6869 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.8371, allocations: 63.81 kB / 0.687 GB, free: 102.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.838, allocations: 0.7392 MB / 0.6877 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.8382, allocations: 41.7 kB / 0.6877 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.8385, allocations: 0.4961 MB / 0.6882 GB, free: 102.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.8388, allocations: 346.7 kB / 0.6885 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.8389, allocations: 15.66 kB / 0.6886 GB, free: 102.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.8389, allocations: 340.3 kB / 0.6889 GB, free: 102 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.8396, allocations: 442.8 kB / 0.6893 GB, free: 102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.8403, allocations: 0.5512 MB / 0.6898 GB, free: 101.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.841, allocations: 483.2 kB / 0.6903 GB, free: 101.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.841, allocations: 0 / 0.6903 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01103/0.8521, allocations: 4.204 MB / 0.6944 GB, free: 101 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.8521, allocations: 12.67 kB / 0.6944 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8521, allocations: 7.906 kB / 0.6944 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005035/0.8572, allocations: 1.724 MB / 0.6961 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.858, allocations: 172 kB / 0.6963 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.8709, allocations: 7.264 MB / 0.7034 GB, free: 96.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.8724, allocations: 199.6 kB / 0.7036 GB, free: 96.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.8726, allocations: 32.25 kB / 0.7036 GB, free: 96.69 MB / 490.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 (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.0002327/0.8728, allocations: 151.6 kB / 0.7037 GB, free: 96.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.873, allocations: 126.4 kB / 0.7039 GB, free: 96.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.8839, allocations: 4.218 MB / 0.708 GB, free: 94.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.884, allocations: 8 kB / 0.708 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.884, allocations: 7.953 kB / 0.708 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.8841, allocations: 7.5 kB / 0.708 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.8971, allocations: 5.82 MB / 0.7137 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8972, allocations: 0 / 0.7137 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007578/0.8979, allocations: 145.2 kB / 0.7138 GB, free: 89.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004645/0.9026, allocations: 1.687 MB / 0.7155 GB, free: 88.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.9028, allocations: 23.95 kB / 0.7155 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.9136, allocations: 6.299 MB / 0.7216 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9136, allocations: 3.438 kB / 0.7216 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.9252, allocations: 4.964 MB / 0.7265 GB, free: 78.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.9256, allocations: 207.4 kB / 0.7267 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.9258, allocations: 16 kB / 0.7267 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.9268, allocations: 151.9 kB / 0.7269 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006204/0.9274, allocations: 224.5 kB / 0.7271 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.9275, allocations: 27.98 kB / 0.7271 GB, free: 78.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006011/0.9281, allocations: 0.5743 MB / 0.7277 GB, free: 77.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9281, allocations: 0 / 0.7277 GB, free: 77.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001016/0.9291, allocations: 447.1 kB / 0.7281 GB, free: 77.04 MB / 490.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 () * 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.01165/0.9408, allocations: 5.534 MB / 0.7335 GB, free: 71.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004466/0.9453, allocations: 2.013 MB / 0.7355 GB, free: 69.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9453, allocations: 0.5625 kB / 0.7355 GB, free: 69.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.9489, allocations: 1.508 MB / 0.7369 GB, free: 67.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.9495, allocations: 76.41 kB / 0.737 GB, free: 67.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.9524, allocations: 1.709 MB / 0.7387 GB, free: 66.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.9528, allocations: 1.122 MB / 0.7398 GB, free: 65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002948/0.9531, allocations: 72.77 kB / 0.7398 GB, free: 64.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.9535, allocations: 427.3 kB / 0.7402 GB, free: 64.51 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/0.9535, allocations: 3.938 kB / 0.7402 GB, free: 64.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.996, allocations: 29.09 MB / 0.7687 GB, free: 35.88 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.9961, allocations: 181.8 kB / 0.7688 GB, free: 35.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.68, allocations: 0 / 0.7688 GB, free: 35.65 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)