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.004685/0.004685, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.387/1.387, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001431/0.001431, allocations: 192.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5777/0.5777, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 84.05 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1329, 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.008034/0.141, allocations: 6.503 MB / 0.6482 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.1453, allocations: 1.892 MB / 0.6501 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.146, allocations: 12 kB / 0.6501 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.1467, allocations: 230 kB / 0.6503 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1485, allocations: 0.7129 MB / 0.651 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1499, allocations: 0.6268 MB / 0.6516 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.1516, allocations: 1.421 MB / 0.653 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.1522, allocations: 332.5 kB / 0.6533 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.1531, allocations: 0.5873 MB / 0.6539 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000907/0.154, allocations: 0.7349 MB / 0.6546 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1542, allocations: 100 kB / 0.6547 GB, free: 6.887 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.1547, allocations: 243.8 kB / 0.6549 GB, free: 6.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.155, allocations: 274.8 kB / 0.6552 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005894/0.1556, allocations: 0.6251 MB / 0.6558 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.1574, allocations: 1.525 MB / 0.6573 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1574, allocations: 0 / 0.6573 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1574, allocations: 7.938 kB / 0.6573 GB, free: 4.211 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.1575, allocations: 0 / 0.6573 GB, free: 4.211 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.008184/0.1656, allocations: 2.594 MB / 0.6598 GB, free: 1.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1657, allocations: 8.031 kB / 0.6599 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.1659, allocations: 130.8 kB / 0.66 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005009/0.1709, allocations: 0.7952 MB / 0.6608 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1723, allocations: 0.7772 MB / 0.6615 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.1726, allocations: 260.2 kB / 0.6618 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.1728, allocations: 79.95 kB / 0.6618 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.1753, allocations: 1.089 MB / 0.6629 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1753, allocations: 0 / 0.6629 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.1754, allocations: 36 kB / 0.6629 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1754, allocations: 16 kB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.178, allocations: 1.124 MB / 0.664 GB, free: 13.15 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.00649/0.1845, allocations: 3.48 MB / 0.6674 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.1868, allocations: 1.426 MB / 0.6688 GB, free: 7.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.1886, allocations: 0.7852 MB / 0.6696 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1888, allocations: 16.98 kB / 0.6696 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.323e-05/0.1889, allocations: 51.5 kB / 0.6697 GB, free: 7.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 4.869e-06/0.1889, allocations: 0 / 0.6697 GB, free: 7.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0283/0.2172, allocations: 6.879 MB / 0.6764 GB, free: 196 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2173, allocations: 60.41 kB / 0.6764 GB, free: 124 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.2186, allocations: 0.8962 MB / 0.6773 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.2188, allocations: 41.7 kB / 0.6774 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.2193, allocations: 0.4974 MB / 0.6778 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.2197, allocations: 372.8 kB / 0.6782 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.2201, allocations: 206.9 kB / 0.6784 GB, free: 14.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2203, allocations: 353.9 kB / 0.6787 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.222, allocations: 0.7248 MB / 0.6794 GB, free: 13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.2239, allocations: 0.8618 MB / 0.6803 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/0.2435, allocations: 4.838 MB / 0.685 GB, free: 7.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2435, allocations: 4 kB / 0.685 GB, free: 7.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0141/0.2576, allocations: 4.281 MB / 0.6892 GB, free: 2.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2577, allocations: 8 kB / 0.6892 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2577, allocations: 3.938 kB / 0.6892 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00612/0.2638, allocations: 1.733 MB / 0.6909 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.2651, allocations: 227.7 kB / 0.6911 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.2871, allocations: 9.068 MB / 0.7 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.2887, allocations: 187.2 kB / 0.7001 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2888, allocations: 39.98 kB / 0.7002 GB, free: 7.52 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.0005466/0.2893, allocations: 237.7 kB / 0.7004 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.2896, allocations: 127.1 kB / 0.7005 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.303, allocations: 4.002 MB / 0.7044 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.303, allocations: 15.98 kB / 0.7045 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.303, allocations: 0 / 0.7045 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.3031, allocations: 3.984 kB / 0.7045 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.319, allocations: 5.633 MB / 0.71 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.3191, allocations: 0 / 0.71 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.3199, allocations: 139.8 kB / 0.7101 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006074/0.326, allocations: 1.733 MB / 0.7118 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.3262, allocations: 20 kB / 0.7118 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.3454, allocations: 8.061 MB / 0.7197 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3454, allocations: 4 kB / 0.7197 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.361, allocations: 4.972 MB / 0.7245 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.3615, allocations: 200.1 kB / 0.7247 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.3617, allocations: 16 kB / 0.7247 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.3628, allocations: 119.9 kB / 0.7249 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/0.3636, allocations: 216.6 kB / 0.7251 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.3636, allocations: 28 kB / 0.7251 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008358/0.3645, allocations: 0.5891 MB / 0.7257 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3645, allocations: 0 / 0.7257 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001379/0.3659, allocations: 447.6 kB / 0.7261 GB, free: 12.62 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.01581/0.3817, allocations: 5.546 MB / 0.7315 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007068/0.3888, allocations: 2.49 MB / 0.7339 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3889, allocations: 0.5625 kB / 0.7339 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/0.3938, allocations: 1.6 MB / 0.7355 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000805/0.3946, allocations: 93.56 kB / 0.7356 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.4353, allocations: 15.41 MB / 0.7507 GB, free: 3.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/0.4363, allocations: 1.099 MB / 0.7517 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005108/0.4368, allocations: 86.77 kB / 0.7518 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.4375, allocations: 447.3 kB / 0.7522 GB, free: 1.562 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.4375, allocations: 0 / 0.7522 GB, free: 1.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3394/0.777, allocations: 33.56 MB / 0.785 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/18.03, allocations: 7.453 kB / 0.785 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)