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.001704/0.001704, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001953/0.001953, allocations: 192.5 kB / 289.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5321/0.5321, allocations: 78.53 MB / 418.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 75.88 kB / 497.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 68.18 MB / 0.5525 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.2911/0.4531, allocations: 5.242 MB / 0.5576 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.4568, allocations: 1.638 MB / 0.5592 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.4575, allocations: 8.625 kB / 0.5592 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.4581, allocations: 179.2 kB / 0.5594 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.4598, allocations: 0.6337 MB / 0.56 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.461, allocations: 0.4948 MB / 0.5605 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.4621, allocations: 1.076 MB / 0.5615 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.4626, allocations: 265.2 kB / 0.5618 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.4631, allocations: 462.5 kB / 0.5622 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.4638, allocations: 0.5917 MB / 0.5628 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.4639, allocations: 80.62 kB / 0.5629 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.4643, allocations: 218 kB / 0.5631 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.4645, allocations: 231 kB / 0.5633 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.4648, allocations: 0.4914 MB / 0.5638 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.466, allocations: 1.211 MB / 0.565 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4661, allocations: 1.969 kB / 0.565 GB, free: 35.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4661, allocations: 0 / 0.565 GB, free: 35.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4661, allocations: 0 / 0.565 GB, free: 35.14 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.006749/0.4728, allocations: 2.145 MB / 0.5671 GB, free: 34.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4729, allocations: 8.812 kB / 0.5671 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.473, allocations: 105.9 kB / 0.5672 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.4771, allocations: 0.6421 MB / 0.5678 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4782, allocations: 0.6515 MB / 0.5684 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.4784, allocations: 179.2 kB / 0.5686 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4785, allocations: 60.81 kB / 0.5687 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4802, allocations: 0.8565 MB / 0.5695 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4802, allocations: 2.156 kB / 0.5695 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.4803, allocations: 25.78 kB / 0.5695 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4803, allocations: 15.53 kB / 0.5695 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4821, allocations: 0.8898 MB / 0.5704 GB, free: 33.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.00397/0.4861, allocations: 2.419 MB / 0.5728 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.4878, allocations: 1.03 MB / 0.5738 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.4889, allocations: 0.6353 MB / 0.5744 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.489, allocations: 8.875 kB / 0.5744 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4891, allocations: 40.06 kB / 0.5744 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.276e-06/0.4891, allocations: 2.844 kB / 0.5745 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02152/0.5106, allocations: 5.544 MB / 0.5799 GB, free: 32.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5107, allocations: 59.22 kB / 0.5799 GB, free: 31.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5119, allocations: 0.7578 MB / 0.5807 GB, free: 31.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.512, allocations: 45.33 kB / 0.5807 GB, free: 31.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.5123, allocations: 393.6 kB / 0.5811 GB, free: 31.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.5125, allocations: 277.9 kB / 0.5813 GB, free: 31.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.5129, allocations: 176.5 kB / 0.5815 GB, free: 31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.5129, allocations: 348.4 kB / 0.5818 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5143, allocations: 0.5966 MB / 0.5824 GB, free: 30.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.5157, allocations: 0.7137 MB / 0.5831 GB, free: 30.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.5187, allocations: 1.303 MB / 0.5844 GB, free: 29.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5187, allocations: 2.062 kB / 0.5844 GB, free: 29.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0118/0.5305, allocations: 3.49 MB / 0.5878 GB, free: 28.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5306, allocations: 6 kB / 0.5878 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5306, allocations: 2.594 kB / 0.5878 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00558/0.5362, allocations: 1.452 MB / 0.5892 GB, free: 28.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.5372, allocations: 175.5 kB / 0.5894 GB, free: 28.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/0.5557, allocations: 7.811 MB / 0.597 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.5573, allocations: 138.7 kB / 0.5972 GB, free: 24.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.5574, allocations: 34.39 kB / 0.5972 GB, free: 24.53 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.0004158/0.5578, allocations: 227.5 kB / 0.5974 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.558, allocations: 96.88 kB / 0.5975 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.5693, allocations: 3.212 MB / 0.6006 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.5693, allocations: 11.97 kB / 0.6007 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.5693, allocations: 6.719 kB / 0.6007 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.5694, allocations: 3.609 kB / 0.6007 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.5832, allocations: 4.544 MB / 0.6051 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.5833, allocations: 0.75 kB / 0.6051 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.5841, allocations: 91.36 kB / 0.6052 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.5896, allocations: 1.411 MB / 0.6066 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/0.5899, allocations: 17.17 kB / 0.6066 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.6059, allocations: 6.748 MB / 0.6132 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.606, allocations: 4 kB / 0.6132 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.6179, allocations: 4.048 MB / 0.6171 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.6184, allocations: 177.2 kB / 0.6173 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.6186, allocations: 16 kB / 0.6173 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.6195, allocations: 79.91 kB / 0.6174 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/0.6201, allocations: 164.4 kB / 0.6175 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.6202, allocations: 20.92 kB / 0.6176 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006689/0.6209, allocations: 0.5146 MB / 0.6181 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6209, allocations: 4 kB / 0.6181 GB, free: 11.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001441/0.6223, allocations: 359.5 kB / 0.6184 GB, free: 11.07 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.01225/0.6346, allocations: 4.618 MB / 0.6229 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005957/0.6406, allocations: 2.096 MB / 0.625 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6407, allocations: 0 / 0.625 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.6445, allocations: 1.295 MB / 0.6262 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6456, allocations: 72.56 kB / 0.6263 GB, free: 2.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.6811, allocations: 13.08 MB / 0.6391 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/0.682, allocations: 1.005 MB / 0.6401 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.6826, allocations: 92.23 kB / 0.6401 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/0.6832, allocations: 343.3 kB / 0.6405 GB, free: 4.141 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6832, allocations: 0 / 0.6405 GB, free: 4.141 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07247/0.7556, allocations: 27.12 MB / 0.667 GB, free: 9.359 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.4, allocations: 5.031 kB / 0.667 GB, free: 9.355 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/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)