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.005613/0.005613, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.337/1.337, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001448/0.001448, allocations: 188.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4786/0.4786, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 84.11 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3205, allocations: 68.17 MB / 0.6197 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.00617/0.3267, allocations: 5.239 MB / 0.6248 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3298, allocations: 1.642 MB / 0.6264 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.3304, allocations: 8 kB / 0.6265 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.3308, allocations: 186.4 kB / 0.6266 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3322, allocations: 0.6301 MB / 0.6272 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.3331, allocations: 0.4967 MB / 0.6277 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.3338, allocations: 1.074 MB / 0.6288 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.3342, allocations: 278.4 kB / 0.629 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.3346, allocations: 470 kB / 0.6295 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.3352, allocations: 0.5834 MB / 0.6301 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3353, allocations: 84 kB / 0.6301 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.3357, allocations: 219.8 kB / 0.6304 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3359, allocations: 235 kB / 0.6306 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.3363, allocations: 0.4892 MB / 0.6311 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3375, allocations: 1.232 MB / 0.6323 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3375, allocations: 3.984 kB / 0.6323 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3375, allocations: 0 / 0.6323 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3376, allocations: 0 / 0.6323 GB, free: 13.25 MB / 446.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.006836/0.3444, allocations: 2.124 MB / 0.6343 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3445, allocations: 12.03 kB / 0.6344 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.3446, allocations: 110.7 kB / 0.6345 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.3488, allocations: 0.6389 MB / 0.6351 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3498, allocations: 0.6582 MB / 0.6357 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.3501, allocations: 176.1 kB / 0.6359 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.3502, allocations: 60 kB / 0.6359 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.3521, allocations: 0.8575 MB / 0.6368 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3521, allocations: 0 / 0.6368 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.3522, allocations: 24 kB / 0.6368 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.3522, allocations: 15.94 kB / 0.6368 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3542, allocations: 0.8913 MB / 0.6377 GB, free: 7.547 MB / 446.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.00407/0.3582, allocations: 2.404 MB / 0.64 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3599, allocations: 1.031 MB / 0.641 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.3612, allocations: 0.6318 MB / 0.6417 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-05/0.3613, allocations: 12.64 kB / 0.6417 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3613, allocations: 43.22 kB / 0.6417 GB, free: 3.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=76): time 2.064e-06/0.3613, allocations: 0 / 0.6417 GB, free: 3.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=76): time 0.02278/0.3841, allocations: 5.554 MB / 0.6471 GB, free: 13.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3842, allocations: 60.06 kB / 0.6472 GB, free: 13.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3852, allocations: 0.7668 MB / 0.6479 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.3854, allocations: 37.7 kB / 0.648 GB, free: 12.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.3857, allocations: 392.6 kB / 0.6484 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.386, allocations: 276.1 kB / 0.6486 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/0.3864, allocations: 174.5 kB / 0.6488 GB, free: 11.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3865, allocations: 349.9 kB / 0.6491 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.3879, allocations: 0.6032 MB / 0.6497 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3894, allocations: 0.7007 MB / 0.6504 GB, free: 10.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.3922, allocations: 1.308 MB / 0.6517 GB, free: 8.906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3923, allocations: 0 / 0.6517 GB, free: 8.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01176/0.404, allocations: 3.497 MB / 0.6551 GB, free: 5.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.4041, allocations: 4 kB / 0.6551 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4041, allocations: 4 kB / 0.6551 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005303/0.4094, allocations: 1.446 MB / 0.6565 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.4104, allocations: 175.7 kB / 0.6567 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.4291, allocations: 7.809 MB / 0.6643 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.4304, allocations: 143.1 kB / 0.6644 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4305, allocations: 35.98 kB / 0.6645 GB, free: 11.64 MB / 478.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.0004455/0.431, allocations: 222.9 kB / 0.6647 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4312, allocations: 102.8 kB / 0.6648 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.4421, allocations: 3.215 MB / 0.6679 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4421, allocations: 8 kB / 0.6679 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4421, allocations: 0 / 0.6679 GB, free: 8.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4422, allocations: 3.984 kB / 0.6679 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.4548, allocations: 4.546 MB / 0.6724 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4548, allocations: 0 / 0.6724 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.4554, allocations: 95.88 kB / 0.6725 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/0.4604, allocations: 1.403 MB / 0.6738 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4606, allocations: 23.92 kB / 0.6739 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/0.4765, allocations: 6.725 MB / 0.6804 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4766, allocations: 0 / 0.6804 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.4894, allocations: 4.05 MB / 0.6844 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.4897, allocations: 167.9 kB / 0.6845 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.4899, allocations: 12 kB / 0.6845 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/0.4908, allocations: 87.89 kB / 0.6846 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.4913, allocations: 164.4 kB / 0.6848 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.055e-05/0.4913, allocations: 24 kB / 0.6848 GB, free: 6.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006658/0.492, allocations: 0.5146 MB / 0.6853 GB, free: 5.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.492, allocations: 0 / 0.6853 GB, free: 5.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001015/0.493, allocations: 367.5 kB / 0.6857 GB, free: 5.598 MB / 494.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.01369/0.5067, allocations: 4.609 MB / 0.6902 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006149/0.5129, allocations: 2.05 MB / 0.6922 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.513, allocations: 3.938 kB / 0.6922 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.5171, allocations: 1.288 MB / 0.6934 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.5179, allocations: 71.31 kB / 0.6935 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/0.5504, allocations: 12.69 MB / 0.7059 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007858/0.5513, allocations: 1.005 MB / 0.7069 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.5518, allocations: 93.45 kB / 0.707 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.5523, allocations: 343.3 kB / 0.7073 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.5523, allocations: 0 / 0.7073 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/0.6366, allocations: 28.59 MB / 0.7352 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.84, allocations: 2.031 kB / 0.7352 GB, free: 2.707 MB / 0.5294 GB (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)