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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005073/0.005073, allocations: 103.6 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5595/0.5595, allocations: 91.91 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 81.58 kB / 0.5723 GB, free: 33.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 71.28 MB / 0.6419 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006628/0.1269, allocations: 6.499 MB / 0.6482 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.1307, allocations: 1.896 MB / 0.6501 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/0.1312, allocations: 12 kB / 0.6501 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.1317, allocations: 222 kB / 0.6503 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.1333, allocations: 0.7695 MB / 0.651 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1345, allocations: 0.6267 MB / 0.6517 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1358, allocations: 1.429 MB / 0.6531 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.1362, allocations: 328.5 kB / 0.6534 GB, free: 8.262 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.1368, allocations: 0.5912 MB / 0.6539 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.1375, allocations: 0.731 MB / 0.6547 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.1376, allocations: 100 kB / 0.6548 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.138, allocations: 235.9 kB / 0.655 GB, free: 6.605 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1382, allocations: 282.8 kB / 0.6553 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.1387, allocations: 0.629 MB / 0.6559 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.14, allocations: 1.525 MB / 0.6574 GB, free: 4.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.14, allocations: 3.984 kB / 0.6574 GB, free: 4.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.14, allocations: 0 / 0.6574 GB, free: 4.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.1401, allocations: 3.938 kB / 0.6574 GB, free: 4.156 MB / 462.1 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.00772/0.1478, allocations: 2.594 MB / 0.6599 GB, free: 1.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1479, allocations: 8.031 kB / 0.6599 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.148, allocations: 134.8 kB / 0.66 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.153, allocations: 0.7835 MB / 0.6608 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.1542, allocations: 0.7811 MB / 0.6616 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.1545, allocations: 260.2 kB / 0.6618 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.1546, allocations: 83.95 kB / 0.6619 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.1569, allocations: 1.081 MB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1569, allocations: 3.984 kB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.157, allocations: 28 kB / 0.663 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.157, allocations: 20 kB / 0.663 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.1594, allocations: 1.12 MB / 0.6641 GB, free: 13.11 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005993/0.1654, allocations: 3.488 MB / 0.6675 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.1675, allocations: 1.434 MB / 0.6689 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.1692, allocations: 0.7852 MB / 0.6697 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.1693, allocations: 13 kB / 0.6697 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1693, allocations: 47.5 kB / 0.6697 GB, free: 7.055 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.897e-06/0.1693, allocations: 3.938 kB / 0.6697 GB, free: 7.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02724/0.1966, allocations: 6.875 MB / 0.6764 GB, free: 144 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1967, allocations: 64.34 kB / 0.6765 GB, free: 68 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.1981, allocations: 0.8923 MB / 0.6774 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.1983, allocations: 45.7 kB / 0.6774 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.1987, allocations: 0.4974 MB / 0.6779 GB, free: 14.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.199, allocations: 368.9 kB / 0.6782 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.1995, allocations: 202.9 kB / 0.6784 GB, free: 14.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1996, allocations: 357.9 kB / 0.6788 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.2013, allocations: 0.7248 MB / 0.6795 GB, free: 12.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.2031, allocations: 0.8619 MB / 0.6803 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.2218, allocations: 4.834 MB / 0.6851 GB, free: 7.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.2219, allocations: 3.938 kB / 0.6851 GB, free: 7.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01388/0.2358, allocations: 4.289 MB / 0.6892 GB, free: 2.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2358, allocations: 5.25 kB / 0.6893 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2358, allocations: 4 kB / 0.6893 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006096/0.2419, allocations: 1.725 MB / 0.6909 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.2431, allocations: 227.7 kB / 0.6912 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.2641, allocations: 9.078 MB / 0.7 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2657, allocations: 183.2 kB / 0.7002 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2658, allocations: 39.98 kB / 0.7002 GB, free: 7.469 MB / 0.4981 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004621/0.2663, allocations: 240 kB / 0.7005 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.2665, allocations: 135.1 kB / 0.7006 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.2798, allocations: 4.002 MB / 0.7045 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.2798, allocations: 8 kB / 0.7045 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2799, allocations: 0 / 0.7045 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.2799, allocations: 11.98 kB / 0.7045 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.2953, allocations: 5.622 MB / 0.71 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.2954, allocations: 4 kB / 0.71 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.2961, allocations: 131.8 kB / 0.7101 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/0.3022, allocations: 1.734 MB / 0.7118 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.3024, allocations: 16 kB / 0.7118 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.321, allocations: 8.077 MB / 0.7197 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.321, allocations: 0 / 0.7197 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.3363, allocations: 4.972 MB / 0.7246 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.3368, allocations: 204.1 kB / 0.7248 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.3371, allocations: 20 kB / 0.7248 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.3383, allocations: 107.9 kB / 0.7249 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/0.339, allocations: 216.7 kB / 0.7251 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.3391, allocations: 24 kB / 0.7251 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009121/0.34, allocations: 0.6008 MB / 0.7257 GB, free: 13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.34, allocations: 4 kB / 0.7257 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001466/0.3415, allocations: 443.6 kB / 0.7262 GB, free: 12.57 MB / 0.5294 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01595/0.3575, allocations: 5.542 MB / 0.7316 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007378/0.3649, allocations: 2.482 MB / 0.734 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3649, allocations: 4.062 kB / 0.734 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00507/0.37, allocations: 1.597 MB / 0.7356 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.371, allocations: 92.34 kB / 0.7356 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03939/0.4104, allocations: 15.42 MB / 0.7507 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.4112, allocations: 1.103 MB / 0.7518 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000434/0.4116, allocations: 90.75 kB / 0.7519 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.4122, allocations: 443.3 kB / 0.7523 GB, free: 1.508 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.4122, allocations: 4 kB / 0.7523 GB, free: 1.504 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3239/0.7361, allocations: 33.55 MB / 0.785 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.11, allocations: 7.641 kB / 0.7851 GB, free: 116.3 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)