Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.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.Loads.PSAT.LoadTestZipJimma,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",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.001099/0.001099, 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.338/1.338, allocations: 222.9 MB / 239.3 MB, free: 4.586 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.001317/0.001317, allocations: 180.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4647/0.4647, allocations: 78.53 MB / 418.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 79.88 kB / 497.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.128, allocations: 68.17 MB / 0.5525 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma): time 0.2088/0.3368, allocations: 5.343 MB / 0.5577 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3393, allocations: 1.633 MB / 0.5593 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.3396, allocations: 9.312 kB / 0.5593 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.34, allocations: 181.8 kB / 0.5595 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3413, allocations: 0.6381 MB / 0.5601 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.3422, allocations: 0.4926 MB / 0.5606 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009657/0.3432, allocations: 1.08 MB / 0.5616 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.3436, allocations: 263.8 kB / 0.5619 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.3441, allocations: 467.1 kB / 0.5623 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.3446, allocations: 0.6117 MB / 0.5629 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3448, allocations: 85.5 kB / 0.563 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.3452, allocations: 227.6 kB / 0.5632 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.3453, allocations: 242.5 kB / 0.5634 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3457, allocations: 0.5039 MB / 0.5639 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.3467, allocations: 1.24 MB / 0.5651 GB, free: 35.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3467, allocations: 8 kB / 0.5652 GB, free: 35.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3467, allocations: 2.031 kB / 0.5652 GB, free: 35.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3467, allocations: 0 / 0.5652 GB, free: 35.12 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006489/0.3532, allocations: 2.165 MB / 0.5673 GB, free: 34.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3532, allocations: 7.812 kB / 0.5673 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.3534, allocations: 109.7 kB / 0.5674 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.3574, allocations: 0.6451 MB / 0.568 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.3584, allocations: 0.6526 MB / 0.5687 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3585, allocations: 180.3 kB / 0.5688 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3587, allocations: 64.38 kB / 0.5689 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3603, allocations: 0.8682 MB / 0.5697 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3604, allocations: 4.562 kB / 0.5697 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.3604, allocations: 25.12 kB / 0.5698 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3605, allocations: 21.02 kB / 0.5698 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.3623, allocations: 0.9135 MB / 0.5707 GB, free: 33.68 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.003988/0.3663, allocations: 2.462 MB / 0.5731 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.3679, allocations: 1.097 MB / 0.5742 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.369, allocations: 0.6486 MB / 0.5748 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.3691, allocations: 14.27 kB / 0.5748 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3692, allocations: 47.28 kB / 0.5748 GB, free: 32.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.745e-06/0.3692, allocations: 0 / 0.5748 GB, free: 32.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02261/0.3918, allocations: 5.787 MB / 0.5805 GB, free: 31.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3919, allocations: 59.31 kB / 0.5806 GB, free: 31.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/0.3928, allocations: 0.7707 MB / 0.5813 GB, free: 31.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.3931, allocations: 41.11 kB / 0.5813 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3933, allocations: 400.8 kB / 0.5817 GB, free: 31.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.3936, allocations: 293.9 kB / 0.582 GB, free: 30.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.394, allocations: 183.7 kB / 0.5822 GB, free: 30.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.394, allocations: 343.3 kB / 0.5825 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.3954, allocations: 0.6117 MB / 0.5831 GB, free: 30.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3968, allocations: 0.727 MB / 0.5838 GB, free: 29.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.3996, allocations: 1.335 MB / 0.5851 GB, free: 29.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3996, allocations: 0 / 0.5851 GB, free: 29.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0123/0.4119, allocations: 3.634 MB / 0.5887 GB, free: 28.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4119, allocations: 6.625 kB / 0.5887 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.412, allocations: 3.188 kB / 0.5887 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006102/0.4181, allocations: 1.541 MB / 0.5902 GB, free: 28.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.4191, allocations: 171.5 kB / 0.5903 GB, free: 28.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.4378, allocations: 8.41 MB / 0.5986 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4392, allocations: 143 kB / 0.5987 GB, free: 23.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.4393, allocations: 35.77 kB / 0.5987 GB, free: 23.97 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (92): * Single equations (assignments): 91 * 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 {(19,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.4397, allocations: 219.3 kB / 0.5989 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.4398, allocations: 98.47 kB / 0.599 GB, free: 23.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.4512, allocations: 3.35 MB / 0.6023 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.4512, allocations: 9.531 kB / 0.6023 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4513, allocations: 0 / 0.6023 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.4513, allocations: 4.125 kB / 0.6023 GB, free: 22.95 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.01309/0.4644, allocations: 4.682 MB / 0.6069 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4644, allocations: 0 / 0.6069 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.465, allocations: 103.8 kB / 0.607 GB, free: 20.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/0.4703, allocations: 1.491 MB / 0.6084 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4704, allocations: 10.12 kB / 0.6085 GB, free: 20.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/0.485, allocations: 7.19 MB / 0.6155 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.485, allocations: 3.938 kB / 0.6155 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.4967, allocations: 4.173 MB / 0.6196 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.497, allocations: 179.7 kB / 0.6197 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.4972, allocations: 16.94 kB / 0.6197 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.498, allocations: 91.89 kB / 0.6198 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004713/0.4985, allocations: 171.5 kB / 0.62 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.4986, allocations: 23.98 kB / 0.62 GB, free: 9.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005234/0.4991, allocations: 0.5107 MB / 0.6205 GB, free: 8.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4991, allocations: 4 kB / 0.6205 GB, free: 8.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001136/0.5003, allocations: 387.5 kB / 0.6209 GB, free: 8.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,zIPJimma.x) * 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 (49): * Single equations (assignments): 48 * 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 {(20,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/0.5124, allocations: 4.747 MB / 0.6255 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00562/0.5181, allocations: 2.176 MB / 0.6276 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5181, allocations: 0 / 0.6276 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.5218, allocations: 1.325 MB / 0.6289 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.5226, allocations: 80.25 kB / 0.629 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/0.555, allocations: 13.55 MB / 0.6422 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5556, allocations: 1.025 MB / 0.6432 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.556, allocations: 94.42 kB / 0.6433 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.5565, allocations: 367.3 kB / 0.6437 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5565, allocations: 3.938 kB / 0.6437 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05621/0.6127, allocations: 28.8 MB / 0.6718 GB, free: 4.352 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.99, allocations: 10.91 kB / 0.6718 GB, free: 4.348 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe 2>&1)