Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.001302/0.001302, allocations: 192.5 kB / 289.6 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4594/0.4594, allocations: 78.53 MB / 418.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 79.88 kB / 497.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1389, allocations: 68.18 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.2188/0.3577, allocations: 6.993 MB / 0.5593 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3614, allocations: 2.202 MB / 0.5615 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.3619, allocations: 10.19 kB / 0.5615 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.3625, allocations: 271 kB / 0.5617 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.3649, allocations: 1.142 MB / 0.5628 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.366, allocations: 0.5718 MB / 0.5634 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3677, allocations: 1.877 MB / 0.5652 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.3681, allocations: 320.9 kB / 0.5655 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00068/0.3688, allocations: 0.7252 MB / 0.5662 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.3696, allocations: 0.9491 MB / 0.5672 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.3698, allocations: 139.1 kB / 0.5673 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006147/0.3705, allocations: 357 kB / 0.5676 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.3707, allocations: 363.6 kB / 0.568 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.3712, allocations: 0.7529 MB / 0.5687 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3727, allocations: 1.85 MB / 0.5705 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3727, allocations: 2.688 kB / 0.5705 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3727, allocations: 0 / 0.5705 GB, free: 33.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.3727, allocations: 0.75 kB / 0.5705 GB, free: 33.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01325/0.386, allocations: 3.574 MB / 0.574 GB, free: 32.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3861, allocations: 10.5 kB / 0.574 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.3862, allocations: 135.7 kB / 0.5742 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004475/0.3907, allocations: 0.7091 MB / 0.5749 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.392, allocations: 0.9028 MB / 0.5757 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.3923, allocations: 363.2 kB / 0.5761 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.3925, allocations: 91.84 kB / 0.5762 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.3946, allocations: 1.206 MB / 0.5773 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3947, allocations: 0 / 0.5773 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3948, allocations: 40.34 kB / 0.5774 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3948, allocations: 18.41 kB / 0.5774 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3971, allocations: 1.154 MB / 0.5785 GB, free: 31.23 MB / 430.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.006168/0.4033, allocations: 4.084 MB / 0.5825 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.411, allocations: 2.641 MB / 0.5851 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.4127, allocations: 0.815 MB / 0.5859 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.4129, allocations: 33.8 kB / 0.5859 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4129, allocations: 44.22 kB / 0.586 GB, free: 27.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.745e-06/0.4129, allocations: 1.094 kB / 0.586 GB, free: 27.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04334/0.4562, allocations: 9.711 MB / 0.5955 GB, free: 25.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4563, allocations: 89.14 kB / 0.5955 GB, free: 25.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.458, allocations: 1.087 MB / 0.5966 GB, free: 25.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002883/0.4583, allocations: 47.02 kB / 0.5966 GB, free: 25.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.4586, allocations: 0.5012 MB / 0.5971 GB, free: 24.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.459, allocations: 388.9 kB / 0.5975 GB, free: 24.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/0.4596, allocations: 275.1 kB / 0.5978 GB, free: 24.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.4596, allocations: 307.5 kB / 0.5981 GB, free: 24.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.4615, allocations: 0.8388 MB / 0.5989 GB, free: 23.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.4636, allocations: 1.031 MB / 0.5999 GB, free: 23.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.4674, allocations: 1.874 MB / 0.6017 GB, free: 22.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.4675, allocations: 1.25 kB / 0.6017 GB, free: 22.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01323/0.4807, allocations: 4.248 MB / 0.6059 GB, free: 20.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.4808, allocations: 8.062 kB / 0.6059 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4808, allocations: 3.781 kB / 0.6059 GB, free: 20.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008554/0.4893, allocations: 2.369 MB / 0.6082 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4906, allocations: 238.2 kB / 0.6084 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.4964, allocations: 2.599 MB / 0.611 GB, free: 18.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.4983, allocations: 204.9 kB / 0.6112 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.4985, allocations: 53.73 kB / 0.6112 GB, free: 18.17 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004659/0.4989, allocations: 248.5 kB / 0.6114 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.4992, allocations: 142.1 kB / 0.6116 GB, free: 17.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.5143, allocations: 4.617 MB / 0.6161 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.5144, allocations: 12 kB / 0.6161 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.5144, allocations: 0.875 kB / 0.6161 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.5144, allocations: 10.31 kB / 0.6161 GB, free: 13.57 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.01697/0.5314, allocations: 6.326 MB / 0.6223 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5314, allocations: 4 kB / 0.6223 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.532, allocations: 103.9 kB / 0.6224 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007085/0.5391, allocations: 2.142 MB / 0.6245 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.5393, allocations: 29.42 kB / 0.6245 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/0.5638, allocations: 10.04 MB / 0.6343 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5638, allocations: 4 kB / 0.6343 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.5825, allocations: 5.666 MB / 0.6399 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.583, allocations: 231.2 kB / 0.6401 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.5832, allocations: 20.81 kB / 0.6401 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.5845, allocations: 107.9 kB / 0.6402 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/0.5853, allocations: 237.7 kB / 0.6404 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.5854, allocations: 35.92 kB / 0.6405 GB, free: 4.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009831/0.5863, allocations: 0.7248 MB / 0.6412 GB, free: 3.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5863, allocations: 0 / 0.6412 GB, free: 3.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001325/0.5877, allocations: 479.5 kB / 0.6416 GB, free: 3.102 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * 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 (64): * Single equations (assignments): 63 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0189/0.6066, allocations: 6.261 MB / 0.6477 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008761/0.6154, allocations: 2.571 MB / 0.6502 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6154, allocations: 3.938 kB / 0.6502 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006157/0.6216, allocations: 1.804 MB / 0.652 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6227, allocations: 110.1 kB / 0.6521 GB, free: 8.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.6604, allocations: 17.1 MB / 0.6688 GB, free: 6.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.6611, allocations: 1.117 MB / 0.6699 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004707/0.6616, allocations: 107.5 kB / 0.67 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.6622, allocations: 495.3 kB / 0.6705 GB, free: 5.082 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6622, allocations: 0 / 0.6705 GB, free: 5.082 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06994/0.7321, allocations: 36.81 MB / 0.7064 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.63, allocations: 11.92 kB / 0.7064 GB, free: 0.5391 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)