Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 108 kB / 15.6 MB, free: 132 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.351/1.351, allocations: 222.9 MB / 239.2 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.001383/0.001383, allocations: 192.5 kB / 289.5 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5154/0.5154, allocations: 91.9 MB / 431.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 0.5019 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 71.27 MB / 0.5715 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004689/0.3301, allocations: 5.276 MB / 0.5766 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3326, allocations: 1.63 MB / 0.5782 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.333, allocations: 12.12 kB / 0.5782 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.3334, allocations: 182.2 kB / 0.5784 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.3346, allocations: 0.6376 MB / 0.579 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.3355, allocations: 0.5044 MB / 0.5795 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.3363, allocations: 1.073 MB / 0.5806 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3367, allocations: 255.4 kB / 0.5808 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.3372, allocations: 472.7 kB / 0.5813 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.3377, allocations: 0.5992 MB / 0.5818 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.3379, allocations: 79.72 kB / 0.5819 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.3383, allocations: 208.7 kB / 0.5821 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3385, allocations: 235.1 kB / 0.5823 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.3388, allocations: 0.4928 MB / 0.5828 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.3397, allocations: 1.212 MB / 0.584 GB, free: 29.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3398, allocations: 0 / 0.584 GB, free: 29.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3398, allocations: 5.344 kB / 0.584 GB, free: 29.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3398, allocations: 0 / 0.584 GB, free: 29.68 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.006453/0.3462, allocations: 2.13 MB / 0.5861 GB, free: 28.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3463, allocations: 8.281 kB / 0.5861 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.3504, allocations: 0.6406 MB / 0.5867 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.3512, allocations: 0.6551 MB / 0.5874 GB, free: 28.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3514, allocations: 180.9 kB / 0.5875 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3515, allocations: 60.41 kB / 0.5876 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.3532, allocations: 0.8582 MB / 0.5884 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3533, allocations: 0 / 0.5884 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.3534, allocations: 27.69 kB / 0.5885 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3534, allocations: 18.53 kB / 0.5885 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.3552, allocations: 0.8847 MB / 0.5893 GB, free: 27.29 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.004065/0.3592, allocations: 2.419 MB / 0.5917 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3609, allocations: 1.028 MB / 0.5927 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.3621, allocations: 0.6448 MB / 0.5933 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/0.3622, allocations: 8.75 kB / 0.5933 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3623, allocations: 38.75 kB / 0.5934 GB, free: 25.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.3623, allocations: 0 / 0.5934 GB, free: 25.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02342/0.3857, allocations: 5.541 MB / 0.5988 GB, free: 23.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3858, allocations: 60.73 kB / 0.5988 GB, free: 23.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3869, allocations: 0.7655 MB / 0.5996 GB, free: 23.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.3871, allocations: 37.14 kB / 0.5996 GB, free: 23.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.3873, allocations: 403.8 kB / 0.6 GB, free: 23.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.3876, allocations: 269.4 kB / 0.6003 GB, free: 23.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.388, allocations: 176.4 kB / 0.6004 GB, free: 22.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.3881, allocations: 347.3 kB / 0.6008 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3896, allocations: 0.6057 MB / 0.6014 GB, free: 22.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.391, allocations: 0.7099 MB / 0.6021 GB, free: 22.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.3937, allocations: 1.307 MB / 0.6033 GB, free: 21.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3937, allocations: 1.375 kB / 0.6033 GB, free: 21.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01221/0.4059, allocations: 3.487 MB / 0.6067 GB, free: 20.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.406, allocations: 5.719 kB / 0.6067 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.406, allocations: 2.156 kB / 0.6067 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005616/0.4117, allocations: 1.452 MB / 0.6082 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.4127, allocations: 172.1 kB / 0.6083 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.4311, allocations: 7.811 MB / 0.616 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.4325, allocations: 147.9 kB / 0.6161 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.4327, allocations: 35.42 kB / 0.6161 GB, free: 16 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.0004783/0.4332, allocations: 218.7 kB / 0.6163 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.4335, allocations: 96.12 kB / 0.6164 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.4437, allocations: 3.222 MB / 0.6196 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4438, allocations: 4 kB / 0.6196 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4438, allocations: 11.94 kB / 0.6196 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.4438, allocations: 3.984 kB / 0.6196 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.4557, allocations: 4.543 MB / 0.624 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.4558, allocations: 0 / 0.624 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.4564, allocations: 95.88 kB / 0.6241 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004603/0.461, allocations: 1.407 MB / 0.6255 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.4612, allocations: 16 kB / 0.6255 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.4754, allocations: 6.741 MB / 0.6321 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4754, allocations: 0 / 0.6321 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.4884, allocations: 4.052 MB / 0.6361 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.4887, allocations: 175.8 kB / 0.6362 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.489, allocations: 12 kB / 0.6362 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.49, allocations: 88 kB / 0.6363 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.4905, allocations: 164.4 kB / 0.6365 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.4906, allocations: 20 kB / 0.6365 GB, free: 11.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007085/0.4913, allocations: 0.5107 MB / 0.637 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4914, allocations: 0 / 0.637 GB, free: 10.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001186/0.4925, allocations: 363.6 kB / 0.6373 GB, free: 10.33 MB / 446.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.0002801/0.4929, allocations: 127.1 kB / 0.6375 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006195/0.4991, allocations: 2.104 MB / 0.6395 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4991, allocations: 0 / 0.6395 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004002/0.5031, allocations: 1.294 MB / 0.6408 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.5039, allocations: 71.31 kB / 0.6408 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.5071, allocations: 1.664 MB / 0.6425 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.5076, allocations: 1.013 MB / 0.6435 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.508, allocations: 97.45 kB / 0.6436 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.5082, allocations: 59.42 kB / 0.6436 GB, free: 3.824 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5082, allocations: 0 / 0.6436 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Templates: time 0.03019/0.5384, allocations: 19.29 MB / 0.6624 GB, free: 0.5703 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)