Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09467/0.09467, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009444, allocations: 103.5 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 239.5 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 184.5 kB / 290.6 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.602/0.602, allocations: 78.54 MB / 420.1 MB, free: 48.7 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009642, allocations: 35.92 kB / 0.4896 GB, free: 2.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5309, allocations: 69.22 MB / 0.5572 GB, free: 43.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006642/0.5376, allocations: 4.838 MB / 0.5619 GB, free: 42.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.5421, allocations: 1.536 MB / 0.5634 GB, free: 41.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.5427, allocations: 10 kB / 0.5634 GB, free: 41.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.5432, allocations: 132 kB / 0.5635 GB, free: 41.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.5449, allocations: 0.516 MB / 0.564 GB, free: 40.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.5461, allocations: 448.2 kB / 0.5644 GB, free: 40.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.5475, allocations: 0.9656 MB / 0.5654 GB, free: 40.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.548, allocations: 217.3 kB / 0.5656 GB, free: 39.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.5487, allocations: 394.8 kB / 0.566 GB, free: 39.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009088/0.5496, allocations: 0.5185 MB / 0.5665 GB, free: 39.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.5498, allocations: 41.84 kB / 0.5665 GB, free: 39.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.5504, allocations: 173.8 kB / 0.5667 GB, free: 39.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.5506, allocations: 182.7 kB / 0.5669 GB, free: 39.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.5509, allocations: 176.1 kB / 0.567 GB, free: 39.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.5521, allocations: 0.8922 MB / 0.5679 GB, free: 39.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.5521, allocations: 5.031 kB / 0.5679 GB, free: 39.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5521, allocations: 4 kB / 0.5679 GB, free: 39.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5522, allocations: 0 / 0.5679 GB, free: 39.04 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.006798/0.559, allocations: 2.004 MB / 0.5699 GB, free: 38.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.559, allocations: 15.05 kB / 0.5699 GB, free: 38.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.5592, allocations: 103.1 kB / 0.57 GB, free: 38.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.5632, allocations: 0.6538 MB / 0.5706 GB, free: 37.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5646, allocations: 0.6059 MB / 0.5712 GB, free: 37.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.5648, allocations: 184.7 kB / 0.5714 GB, free: 37.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.565, allocations: 63.03 kB / 0.5714 GB, free: 37.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5669, allocations: 0.9175 MB / 0.5723 GB, free: 37.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5669, allocations: 0 / 0.5723 GB, free: 37.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.567, allocations: 30.98 kB / 0.5724 GB, free: 36.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.5671, allocations: 14.84 kB / 0.5724 GB, free: 36.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.569, allocations: 0.9602 MB / 0.5733 GB, free: 36.71 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.004473/0.5735, allocations: 2.487 MB / 0.5757 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.5753, allocations: 1.091 MB / 0.5768 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.5765, allocations: 0.689 MB / 0.5775 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.5766, allocations: 18.98 kB / 0.5775 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.5767, allocations: 46.14 kB / 0.5775 GB, free: 34.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 4.058e-06/0.5767, allocations: 0 / 0.5775 GB, free: 34.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02103/0.5977, allocations: 6.781 MB / 0.5842 GB, free: 33.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.5978, allocations: 57.47 kB / 0.5842 GB, free: 33.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.599, allocations: 0.7567 MB / 0.585 GB, free: 32.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002053/0.5992, allocations: 36.61 kB / 0.585 GB, free: 32.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.5995, allocations: 395.4 kB / 0.5854 GB, free: 32.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.5998, allocations: 271.3 kB / 0.5856 GB, free: 32.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.5999, allocations: 25.59 kB / 0.5857 GB, free: 32.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.6, allocations: 350.2 kB / 0.586 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.6013, allocations: 0.6652 MB / 0.5866 GB, free: 31.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.6027, allocations: 0.7678 MB / 0.5874 GB, free: 31.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.604, allocations: 0.7193 MB / 0.5881 GB, free: 31.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.604, allocations: 0 / 0.5881 GB, free: 31.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01261/0.6166, allocations: 4.229 MB / 0.5922 GB, free: 30.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.6167, allocations: 5.5 kB / 0.5922 GB, free: 30.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6168, allocations: 1.344 kB / 0.5922 GB, free: 30.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006486/0.6233, allocations: 1.7 MB / 0.5939 GB, free: 29.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.6246, allocations: 183.5 kB / 0.5941 GB, free: 29.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.6457, allocations: 7.973 MB / 0.6018 GB, free: 26.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.6474, allocations: 175.9 kB / 0.602 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/0.6477, allocations: 34.73 kB / 0.6021 GB, free: 26.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.000817/0.6485, allocations: 223 kB / 0.6023 GB, free: 26.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.6491, allocations: 96.16 kB / 0.6024 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.6619, allocations: 3.959 MB / 0.6062 GB, free: 24.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.662, allocations: 10.83 kB / 0.6062 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.662, allocations: 1.375 kB / 0.6062 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/0.6621, allocations: 3.984 kB / 0.6062 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.6751, allocations: 5.28 MB / 0.6114 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.6752, allocations: 3.984 kB / 0.6114 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.6759, allocations: 103.9 kB / 0.6115 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/0.6803, allocations: 1.648 MB / 0.6131 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.6805, allocations: 19.98 kB / 0.6131 GB, free: 18.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/0.6939, allocations: 6.832 MB / 0.6198 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6939, allocations: 4 kB / 0.6198 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.7056, allocations: 4.85 MB / 0.6245 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.7062, allocations: 175.9 kB / 0.6247 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.7065, allocations: 12 kB / 0.6247 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7076, allocations: 111.9 kB / 0.6248 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/0.7083, allocations: 168.4 kB / 0.625 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-05/0.7084, allocations: 19.94 kB / 0.625 GB, free: 6.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008365/0.7092, allocations: 0.5068 MB / 0.6255 GB, free: 5.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7092, allocations: 0 / 0.6255 GB, free: 5.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001755/0.711, allocations: 363.5 kB / 0.6258 GB, free: 5.32 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.7228, allocations: 5.421 MB / 0.6311 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006599/0.7294, allocations: 2.271 MB / 0.6334 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7295, allocations: 0 / 0.6334 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.7338, allocations: 1.44 MB / 0.6348 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.7353, allocations: 71.27 kB / 0.6348 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/0.7587, allocations: 9.368 MB / 0.644 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/0.7596, allocations: 1.009 MB / 0.645 GB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005632/0.7602, allocations: 93.45 kB / 0.6451 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/0.7608, allocations: 335.3 kB / 0.6454 GB, free: 1 MB / 446.1 MB Notification: Performance of SimCode: time 1.804e-06/0.7609, allocations: 0 / 0.6454 GB, free: 1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/0.8199, allocations: 24.42 MB / 0.6692 GB, free: 8.684 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.8202, allocations: 206 kB / 0.6694 GB, free: 8.441 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.646, allocations: 0 / 0.6694 GB, free: 8.441 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) Environment - environmentSimulation: