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-master/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-master/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-master/package.mo): time 0.08133/0.08133, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.341/1.341, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001258/0.001258, allocations: 180.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4717/0.4717, allocations: 78.5 MB / 419.2 MB, free: 11.36 MB / 302.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.003072/0.003072, allocations: 155.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3049, allocations: 68.1 MB / 0.5547 GB, free: 32.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005544/0.3104, allocations: 5.294 MB / 0.5598 GB, free: 28.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.3135, allocations: 1.603 MB / 0.5614 GB, free: 27.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.3139, allocations: 8.25 kB / 0.5614 GB, free: 27.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.3144, allocations: 183.6 kB / 0.5616 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3157, allocations: 0.6391 MB / 0.5622 GB, free: 26.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.3166, allocations: 0.4997 MB / 0.5627 GB, free: 26.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008845/0.3175, allocations: 1.074 MB / 0.5638 GB, free: 25.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3179, allocations: 263.1 kB / 0.564 GB, free: 25.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.3183, allocations: 476.8 kB / 0.5645 GB, free: 25.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.3189, allocations: 0.5878 MB / 0.565 GB, free: 25.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.319, allocations: 79.47 kB / 0.5651 GB, free: 25.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.3194, allocations: 214 kB / 0.5653 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.3196, allocations: 231.3 kB / 0.5655 GB, free: 24.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.3199, allocations: 0.4966 MB / 0.566 GB, free: 24.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009784/0.3209, allocations: 1.209 MB / 0.5672 GB, free: 23.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3209, allocations: 4 kB / 0.5672 GB, free: 23.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3209, allocations: 1.375 kB / 0.5672 GB, free: 23.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.321, allocations: 0 / 0.5672 GB, free: 23.51 MB / 398.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.006404/0.3274, allocations: 2.125 MB / 0.5693 GB, free: 22.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3274, allocations: 13.08 kB / 0.5693 GB, free: 22.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3275, allocations: 106.7 kB / 0.5694 GB, free: 22.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.3316, allocations: 0.6504 MB / 0.57 GB, free: 21.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.3324, allocations: 0.6485 MB / 0.5707 GB, free: 21.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.3326, allocations: 177.5 kB / 0.5708 GB, free: 21.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3328, allocations: 61.03 kB / 0.5709 GB, free: 21.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.3345, allocations: 0.8563 MB / 0.5717 GB, free: 20.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3345, allocations: 0 / 0.5717 GB, free: 20.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/0.3346, allocations: 25.84 kB / 0.5718 GB, free: 20.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.3346, allocations: 17.28 kB / 0.5718 GB, free: 20.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.3366, allocations: 0.8891 MB / 0.5726 GB, free: 20.14 MB / 398.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.004081/0.3407, allocations: 2.431 MB / 0.575 GB, free: 18.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3421, allocations: 1.036 MB / 0.576 GB, free: 17.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3433, allocations: 0.6279 MB / 0.5766 GB, free: 16.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.3434, allocations: 12.64 kB / 0.5766 GB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3434, allocations: 35.22 kB / 0.5767 GB, free: 16.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.3434, allocations: 4 kB / 0.5767 GB, free: 16.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.02045/0.3639, allocations: 5.539 MB / 0.5821 GB, free: 11.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3639, allocations: 64.06 kB / 0.5822 GB, free: 10.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.3647, allocations: 0.7629 MB / 0.5829 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.3648, allocations: 41.64 kB / 0.5829 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.365, allocations: 396.6 kB / 0.5833 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.3652, allocations: 272.1 kB / 0.5836 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.3655, allocations: 178.5 kB / 0.5837 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.3655, allocations: 345.9 kB / 0.5841 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3667, allocations: 0.6071 MB / 0.5847 GB, free: 8.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.3679, allocations: 0.7046 MB / 0.5854 GB, free: 7.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.3703, allocations: 1.311 MB / 0.5866 GB, free: 6.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3703, allocations: 0 / 0.5866 GB, free: 6.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01033/0.3807, allocations: 3.489 MB / 0.59 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3807, allocations: 8 kB / 0.5901 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3807, allocations: 4.188 kB / 0.5901 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/0.3855, allocations: 1.45 MB / 0.5915 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/0.3863, allocations: 175.7 kB / 0.5916 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.4048, allocations: 7.811 MB / 0.5993 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4063, allocations: 143.1 kB / 0.5994 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.4065, allocations: 31.98 kB / 0.5994 GB, free: 9.023 MB / 414.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.0005189/0.407, allocations: 221.6 kB / 0.5996 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.4073, allocations: 98.78 kB / 0.5997 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.4183, allocations: 3.227 MB / 0.6029 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4183, allocations: 8 kB / 0.6029 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4184, allocations: 0 / 0.6029 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4184, allocations: 3.984 kB / 0.6029 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.4312, allocations: 4.539 MB / 0.6073 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.4312, allocations: 0 / 0.6073 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.4318, allocations: 99.81 kB / 0.6074 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/0.4368, allocations: 1.399 MB / 0.6088 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.437, allocations: 23.98 kB / 0.6088 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.4531, allocations: 6.741 MB / 0.6154 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4531, allocations: 4 kB / 0.6154 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.4661, allocations: 4.045 MB / 0.6194 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.4665, allocations: 187.7 kB / 0.6195 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.4667, allocations: 8 kB / 0.6195 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.4677, allocations: 87.89 kB / 0.6196 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/0.4683, allocations: 164.4 kB / 0.6198 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.4683, allocations: 20 kB / 0.6198 GB, free: 3.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007632/0.4691, allocations: 0.5185 MB / 0.6203 GB, free: 3.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4691, allocations: 0 / 0.6203 GB, free: 3.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001209/0.4703, allocations: 351.7 kB / 0.6206 GB, free: 2.969 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 (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.01312/0.4835, allocations: 4.62 MB / 0.6252 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006304/0.4898, allocations: 2.102 MB / 0.6272 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4898, allocations: 0 / 0.6272 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00401/0.4938, allocations: 1.292 MB / 0.6285 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.4948, allocations: 71.3 kB / 0.6285 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/0.5285, allocations: 13.07 MB / 0.6413 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.5294, allocations: 1.013 MB / 0.6423 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.5299, allocations: 93.41 kB / 0.6424 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/0.5304, allocations: 339.3 kB / 0.6427 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5305, allocations: 0 / 0.6427 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/0.5919, allocations: 27.14 MB / 0.6692 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.16, allocations: 7.766 kB / 0.6692 GB, free: 0.8984 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/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)