Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.572/1.572, allocations: 222.9 MB / 239 MB, free: 4.73 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.001422/0.001422, allocations: 192.4 kB / 289.3 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.591/0.591, allocations: 91.89 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 75.88 kB / 0.5015 GB, free: 7.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4552, allocations: 71.26 MB / 0.5711 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005434/0.4607, allocations: 5.542 MB / 0.5765 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.4636, allocations: 1.662 MB / 0.5781 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.464, allocations: 11.72 kB / 0.5781 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.4645, allocations: 139 kB / 0.5783 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.4659, allocations: 0.571 MB / 0.5788 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.4669, allocations: 466 kB / 0.5793 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.4679, allocations: 1.078 MB / 0.5803 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.4683, allocations: 278.4 kB / 0.5806 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.4688, allocations: 466.2 kB / 0.581 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.4694, allocations: 0.5948 MB / 0.5816 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.4695, allocations: 81.81 kB / 0.5817 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.4699, allocations: 208.5 kB / 0.5819 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.4701, allocations: 238.1 kB / 0.5821 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.4704, allocations: 0.4926 MB / 0.5826 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.4714, allocations: 1.21 MB / 0.5838 GB, free: 29.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4714, allocations: 0 / 0.5838 GB, free: 29.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4714, allocations: 0 / 0.5838 GB, free: 29.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4715, allocations: 7.359 kB / 0.5838 GB, free: 29.67 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006557/0.478, allocations: 2.133 MB / 0.5859 GB, free: 28.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4781, allocations: 9.125 kB / 0.5859 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.4782, allocations: 107.6 kB / 0.586 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.4823, allocations: 0.6377 MB / 0.5866 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.4833, allocations: 0.6578 MB / 0.5872 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.4835, allocations: 172.7 kB / 0.5874 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4836, allocations: 64.44 kB / 0.5875 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.4854, allocations: 0.8574 MB / 0.5883 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4854, allocations: 0 / 0.5883 GB, free: 27.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.4855, allocations: 23.59 kB / 0.5883 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4855, allocations: 18.94 kB / 0.5883 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4875, allocations: 0.8857 MB / 0.5892 GB, free: 27.2 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.004025/0.4915, allocations: 2.42 MB / 0.5916 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.493, allocations: 1.03 MB / 0.5926 GB, free: 25.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4943, allocations: 0.6301 MB / 0.5932 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-05/0.4944, allocations: 12.56 kB / 0.5932 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4944, allocations: 38 kB / 0.5932 GB, free: 24.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.244e-06/0.4944, allocations: 0 / 0.5932 GB, free: 24.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02997/0.5244, allocations: 5.541 MB / 0.5987 GB, free: 23.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.5245, allocations: 67.72 kB / 0.5987 GB, free: 23.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.5265, allocations: 0.7597 MB / 0.5995 GB, free: 23.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.5269, allocations: 40.89 kB / 0.5995 GB, free: 23.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.5273, allocations: 394.5 kB / 0.5999 GB, free: 23.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.5279, allocations: 274.4 kB / 0.6001 GB, free: 22.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.5285, allocations: 176.5 kB / 0.6003 GB, free: 22.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5286, allocations: 350.9 kB / 0.6006 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.5311, allocations: 0.6028 MB / 0.6012 GB, free: 22.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.5336, allocations: 0.709 MB / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.5367, allocations: 1.311 MB / 0.6032 GB, free: 21.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5368, allocations: 0.5156 kB / 0.6032 GB, free: 21.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0127/0.5495, allocations: 3.487 MB / 0.6066 GB, free: 20.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.5495, allocations: 10.92 kB / 0.6066 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5496, allocations: 1.312 kB / 0.6066 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005378/0.555, allocations: 1.449 MB / 0.608 GB, free: 20.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.556, allocations: 171 kB / 0.6082 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.5738, allocations: 7.813 MB / 0.6158 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.5753, allocations: 144.8 kB / 0.616 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/0.5754, allocations: 35.67 kB / 0.616 GB, free: 16.04 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 (94): * Single equations (assignments): 93 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.5759, allocations: 222.5 kB / 0.6162 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.5761, allocations: 100 kB / 0.6163 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009359/0.5855, allocations: 3.217 MB / 0.6195 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5855, allocations: 8 kB / 0.6195 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5855, allocations: 0 / 0.6195 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5855, allocations: 3.984 kB / 0.6195 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5964, allocations: 4.547 MB / 0.6239 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5964, allocations: 4 kB / 0.6239 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.597, allocations: 91.88 kB / 0.624 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.6013, allocations: 1.415 MB / 0.6254 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.6014, allocations: 11.98 kB / 0.6254 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.6142, allocations: 6.741 MB / 0.632 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6142, allocations: 4 kB / 0.632 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.6268, allocations: 4.045 MB / 0.6359 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/0.6273, allocations: 179.8 kB / 0.6361 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6275, allocations: 12 kB / 0.6361 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/0.6284, allocations: 83.89 kB / 0.6362 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006054/0.629, allocations: 172.4 kB / 0.6364 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.6291, allocations: 16 kB / 0.6364 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006849/0.6298, allocations: 0.5146 MB / 0.6369 GB, free: 10.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6298, allocations: 0 / 0.6369 GB, free: 10.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001205/0.631, allocations: 355.6 kB / 0.6372 GB, free: 10.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/0.6437, allocations: 4.628 MB / 0.6417 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0064/0.6502, allocations: 2.1 MB / 0.6438 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6502, allocations: 0 / 0.6438 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004031/0.6542, allocations: 1.288 MB / 0.645 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6554, allocations: 75.3 kB / 0.6451 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0349/0.6903, allocations: 13.38 MB / 0.6582 GB, free: 4.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.6911, allocations: 1.009 MB / 0.6592 GB, free: 3.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.6916, allocations: 93.45 kB / 0.6592 GB, free: 3.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005497/0.6922, allocations: 343.3 kB / 0.6596 GB, free: 2.973 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6922, allocations: 0 / 0.6596 GB, free: 2.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.746, allocations: 26.17 MB / 0.6851 GB, free: 8.969 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.7463, allocations: 210.6 kB / 0.6853 GB, free: 8.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.326, allocations: 0 / 0.6853 GB, free: 8.719 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)