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.0008641/0.0008642, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.294/1.294, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.001507/0.001507, allocations: 177 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.438/0.438, allocations: 78.53 MB / 419.8 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 12 kB / 499.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 69.35 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.2357/0.3674, allocations: 4.563 MB / 0.5602 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.3705, allocations: 1.601 MB / 0.5618 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.371, allocations: 12.88 kB / 0.5618 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.3714, allocations: 123.4 kB / 0.5619 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.3728, allocations: 0.5634 MB / 0.5625 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.3737, allocations: 443.5 kB / 0.5629 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.3747, allocations: 0.6984 MB / 0.5636 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.3751, allocations: 213.1 kB / 0.5638 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.3755, allocations: 399.7 kB / 0.5642 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.3761, allocations: 0.5069 MB / 0.5646 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.3762, allocations: 40.27 kB / 0.5647 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.3765, allocations: 155.5 kB / 0.5648 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3767, allocations: 182.4 kB / 0.565 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3768, allocations: 181 kB / 0.5652 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.3776, allocations: 0.8503 MB / 0.566 GB, free: 36.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3777, allocations: 0.5938 kB / 0.566 GB, free: 36.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3777, allocations: 0 / 0.566 GB, free: 36.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.3777, allocations: 1.281 kB / 0.566 GB, free: 36.58 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.006406/0.3841, allocations: 2.005 MB / 0.568 GB, free: 35.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.3842, allocations: 14.03 kB / 0.568 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.3844, allocations: 105.5 kB / 0.5681 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/0.3886, allocations: 0.6469 MB / 0.5687 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3897, allocations: 0.6152 MB / 0.5693 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3898, allocations: 182.5 kB / 0.5695 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.39, allocations: 59.75 kB / 0.5696 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.3917, allocations: 0.9167 MB / 0.5704 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3917, allocations: 3.531 kB / 0.5704 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.3918, allocations: 24.91 kB / 0.5705 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.3918, allocations: 18.42 kB / 0.5705 GB, free: 35.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.3937, allocations: 0.9683 MB / 0.5714 GB, free: 35.25 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.003755/0.3975, allocations: 2.481 MB / 0.5739 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.3991, allocations: 1.091 MB / 0.5749 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.3991, allocations: 15.59 kB / 0.5749 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3992, allocations: 43.34 kB / 0.575 GB, free: 34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.227e-06/0.3992, allocations: 0.5625 kB / 0.575 GB, free: 34 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02208/0.4213, allocations: 6.775 MB / 0.5816 GB, free: 32.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4214, allocations: 63.14 kB / 0.5817 GB, free: 32.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4224, allocations: 0.7576 MB / 0.5824 GB, free: 32.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4225, allocations: 35.39 kB / 0.5824 GB, free: 32.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.4228, allocations: 402.8 kB / 0.5828 GB, free: 32.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.423, allocations: 271.2 kB / 0.5831 GB, free: 31.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.4231, allocations: 24.72 kB / 0.5831 GB, free: 31.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.4231, allocations: 340.3 kB / 0.5834 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4245, allocations: 0.6651 MB / 0.5841 GB, free: 31.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.4259, allocations: 0.763 MB / 0.5848 GB, free: 31.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.4273, allocations: 0.7187 MB / 0.5855 GB, free: 30.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4273, allocations: 1.094 kB / 0.5855 GB, free: 30.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01196/0.4393, allocations: 4.229 MB / 0.5896 GB, free: 29.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4394, allocations: 5.094 kB / 0.5897 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4394, allocations: 4.312 kB / 0.5897 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/0.4449, allocations: 1.697 MB / 0.5913 GB, free: 29.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.4459, allocations: 178.8 kB / 0.5915 GB, free: 29.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.4652, allocations: 8.339 MB / 0.5996 GB, free: 25.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.4668, allocations: 180.9 kB / 0.5998 GB, free: 25.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4669, allocations: 35.17 kB / 0.5998 GB, free: 25.7 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.0004996/0.4674, allocations: 220.7 kB / 0.6 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.4676, allocations: 96.58 kB / 0.6001 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.4796, allocations: 3.956 MB / 0.604 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4797, allocations: 8.562 kB / 0.604 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4797, allocations: 0.6562 kB / 0.604 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.4797, allocations: 3.562 kB / 0.604 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.4935, allocations: 5.285 MB / 0.6092 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.4936, allocations: 0 / 0.6092 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006152/0.4942, allocations: 97.86 kB / 0.6093 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/0.4991, allocations: 1.658 MB / 0.6109 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.4992, allocations: 15.89 kB / 0.6109 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.5129, allocations: 7.188 MB / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5129, allocations: 1.078 kB / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.5247, allocations: 4.838 MB / 0.6226 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.5251, allocations: 179.8 kB / 0.6228 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.5252, allocations: 12 kB / 0.6228 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.5261, allocations: 123.9 kB / 0.6229 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/0.5265, allocations: 168.3 kB / 0.6231 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.5266, allocations: 16 kB / 0.6231 GB, free: 8.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.5272, allocations: 0.5068 MB / 0.6236 GB, free: 8.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.5272, allocations: 0 / 0.6236 GB, free: 8.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00106/0.5282, allocations: 369.2 kB / 0.624 GB, free: 7.836 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.01194/0.5402, allocations: 5.417 MB / 0.6293 GB, free: 2.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005184/0.5454, allocations: 2.269 MB / 0.6315 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5454, allocations: 4 kB / 0.6315 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/0.5493, allocations: 1.439 MB / 0.6329 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.5499, allocations: 64.28 kB / 0.6329 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.5537, allocations: 3.459 MB / 0.6363 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.5542, allocations: 1.029 MB / 0.6373 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.5545, allocations: 92.94 kB / 0.6374 GB, free: 9.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.5549, allocations: 339.3 kB / 0.6377 GB, free: 9.609 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5549, allocations: 0 / 0.6377 GB, free: 9.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.5944, allocations: 23.93 MB / 0.6611 GB, free: 2.051 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.5947, allocations: 185.5 kB / 0.6613 GB, free: 1.812 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.772, allocations: 0 / 0.6613 GB, free: 1.812 MB / 462.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: