Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_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.0009341/0.000934, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.335/1.335, allocations: 223.3 MB / 239 MB, free: 5.43 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.0009453/0.0009453, allocations: 176.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4831/0.4831, allocations: 78.55 MB / 419.9 MB, free: 4.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 8 kB / 499.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 69.37 MB / 0.5559 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.292/0.4422, allocations: 4.783 MB / 0.5606 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.4457, allocations: 1.568 MB / 0.5621 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.4468, allocations: 15.03 kB / 0.5621 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.4475, allocations: 125.2 kB / 0.5622 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.4497, allocations: 0.5219 MB / 0.5628 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.451, allocations: 430.8 kB / 0.5632 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.4526, allocations: 0.9712 MB / 0.5641 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.4532, allocations: 210.1 kB / 0.5643 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.4541, allocations: 408 kB / 0.5647 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.4551, allocations: 0.5129 MB / 0.5652 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.4554, allocations: 44.69 kB / 0.5652 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.4561, allocations: 164 kB / 0.5654 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.4565, allocations: 186.1 kB / 0.5656 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.4568, allocations: 180.2 kB / 0.5658 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00092/0.4577, allocations: 0.8882 MB / 0.5666 GB, free: 36.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4577, allocations: 7 kB / 0.5666 GB, free: 36.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4577, allocations: 0 / 0.5666 GB, free: 36.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4577, allocations: 0 / 0.5666 GB, free: 36.28 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.005688/0.4634, allocations: 2.008 MB / 0.5686 GB, free: 35.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4635, allocations: 10.06 kB / 0.5686 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002313/0.4637, allocations: 107.9 kB / 0.5687 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.4677, allocations: 0.6432 MB / 0.5693 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4689, allocations: 0.6117 MB / 0.5699 GB, free: 35.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.4691, allocations: 183.6 kB / 0.5701 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.4693, allocations: 64.55 kB / 0.5702 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4712, allocations: 0.9186 MB / 0.5711 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4712, allocations: 0 / 0.5711 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.4713, allocations: 25 kB / 0.5711 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4713, allocations: 17.78 kB / 0.5711 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4733, allocations: 0.9647 MB / 0.572 GB, free: 34.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 preOpt removeSimpleEquations (simulation): time 0.004409/0.4777, allocations: 2.484 MB / 0.5745 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4793, allocations: 1.097 MB / 0.5755 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.4805, allocations: 0.6889 MB / 0.5762 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.4806, allocations: 15.64 kB / 0.5762 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4806, allocations: 44.44 kB / 0.5763 GB, free: 33.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.4807, allocations: 2.594 kB / 0.5763 GB, free: 33.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02048/0.5011, allocations: 6.775 MB / 0.5829 GB, free: 32.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.5012, allocations: 62.31 kB / 0.5829 GB, free: 32.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5027, allocations: 0.7533 MB / 0.5837 GB, free: 31.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.503, allocations: 40.17 kB / 0.5837 GB, free: 31.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.5033, allocations: 400.2 kB / 0.5841 GB, free: 31.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.5037, allocations: 273.2 kB / 0.5844 GB, free: 31.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5039, allocations: 24.44 kB / 0.5844 GB, free: 31.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.504, allocations: 344.5 kB / 0.5847 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.5055, allocations: 0.659 MB / 0.5854 GB, free: 30.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.507, allocations: 0.7722 MB / 0.5861 GB, free: 30.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.5086, allocations: 0.7105 MB / 0.5868 GB, free: 30.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5086, allocations: 5.031 kB / 0.5868 GB, free: 30.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01139/0.52, allocations: 4.231 MB / 0.5909 GB, free: 29.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.52, allocations: 6.219 kB / 0.5909 GB, free: 29.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5201, allocations: 5.031 kB / 0.591 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/0.5254, allocations: 1.698 MB / 0.5926 GB, free: 29.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.5264, allocations: 178.1 kB / 0.5928 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.544, allocations: 7.971 MB / 0.6006 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5454, allocations: 176.8 kB / 0.6007 GB, free: 25.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.5456, allocations: 35.77 kB / 0.6008 GB, free: 25.34 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.0005751/0.5462, allocations: 220.4 kB / 0.601 GB, free: 25.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.5465, allocations: 96.81 kB / 0.6011 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.5577, allocations: 3.955 MB / 0.6049 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5577, allocations: 7.734 kB / 0.6049 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5577, allocations: 0.7812 kB / 0.6049 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.5577, allocations: 3.516 kB / 0.6049 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.5711, allocations: 5.283 MB / 0.6101 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.5712, allocations: 4 kB / 0.6101 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.5718, allocations: 108.3 kB / 0.6102 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004534/0.5763, allocations: 1.652 MB / 0.6118 GB, free: 20.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.5765, allocations: 16 kB / 0.6118 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.5892, allocations: 6.826 MB / 0.6185 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5893, allocations: 0 / 0.6185 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.6003, allocations: 4.85 MB / 0.6232 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.6008, allocations: 180.3 kB / 0.6234 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.6011, allocations: 13.06 kB / 0.6234 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.602, allocations: 119.9 kB / 0.6235 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005052/0.6026, allocations: 170.1 kB / 0.6237 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.6026, allocations: 19.98 kB / 0.6237 GB, free: 8.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006317/0.6033, allocations: 0.5068 MB / 0.6242 GB, free: 7.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6033, allocations: 0 / 0.6242 GB, free: 7.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001442/0.6047, allocations: 355.5 kB / 0.6246 GB, free: 7.312 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.01086/0.6156, allocations: 5.423 MB / 0.6299 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.6209, allocations: 2.262 MB / 0.6321 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.621, allocations: 8 kB / 0.6321 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.6246, allocations: 1.438 MB / 0.6335 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.6257, allocations: 76.72 kB / 0.6335 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.6462, allocations: 9.357 MB / 0.6427 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.647, allocations: 1.014 MB / 0.6437 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.6476, allocations: 92.56 kB / 0.6438 GB, free: 3.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.6481, allocations: 339.3 kB / 0.6441 GB, free: 3.023 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6482, allocations: 3.938 kB / 0.6441 GB, free: 3.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.6965, allocations: 24.39 MB / 0.6679 GB, free: 11.02 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.6967, allocations: 192 kB / 0.6681 GB, free: 10.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.197, allocations: 4 kB / 0.6681 GB, free: 10.77 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) Environment - environmentSimulation: