Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 100 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.289/1.289, allocations: 223.2 MB / 238.9 MB, free: 5.5 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.001068/0.001068, allocations: 185 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4374/0.4374, allocations: 79.44 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004351, allocations: 8 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 69.52 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.2123/0.3375, allocations: 5.131 MB / 0.5619 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3409, allocations: 1.836 MB / 0.5637 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009735/0.3419, allocations: 10.75 kB / 0.5637 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.3425, allocations: 141.9 kB / 0.5638 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.3445, allocations: 0.5999 MB / 0.5644 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3458, allocations: 0.5238 MB / 0.5649 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3476, allocations: 0.8204 MB / 0.5657 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.3481, allocations: 275.1 kB / 0.566 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.3489, allocations: 448.5 kB / 0.5664 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008756/0.3498, allocations: 0.5782 MB / 0.567 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.35, allocations: 48.44 kB / 0.567 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.3506, allocations: 157.3 kB / 0.5672 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.3508, allocations: 211.4 kB / 0.5674 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.3512, allocations: 209 kB / 0.5676 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3522, allocations: 1.026 MB / 0.5686 GB, free: 36.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3522, allocations: 3.938 kB / 0.5686 GB, free: 36.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3523, allocations: 0 / 0.5686 GB, free: 36.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.087e-05/0.3523, allocations: 1.75 kB / 0.5686 GB, free: 36.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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00686/0.3592, allocations: 2.197 MB / 0.5707 GB, free: 35.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3592, allocations: 9.531 kB / 0.5707 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.3635, allocations: 0.6667 MB / 0.5714 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3649, allocations: 0.7045 MB / 0.5721 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.3652, allocations: 226.5 kB / 0.5723 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.3655, allocations: 80.81 kB / 0.5724 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.3679, allocations: 1.154 MB / 0.5735 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3679, allocations: 3.812 kB / 0.5735 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.368, allocations: 33.77 kB / 0.5735 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.3681, allocations: 17.31 kB / 0.5736 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.3703, allocations: 1.123 MB / 0.5747 GB, free: 34 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.005172/0.3755, allocations: 3.021 MB / 0.5776 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.3778, allocations: 1.356 MB / 0.5789 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3779, allocations: 20.42 kB / 0.5789 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3779, allocations: 38.38 kB / 0.579 GB, free: 31.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.3779, allocations: 0 / 0.579 GB, free: 31.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02549/0.4034, allocations: 7.562 MB / 0.5864 GB, free: 30.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4035, allocations: 86.89 kB / 0.5865 GB, free: 30.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.4048, allocations: 0.8809 MB / 0.5873 GB, free: 29.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.405, allocations: 44.64 kB / 0.5874 GB, free: 29.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4053, allocations: 470.3 kB / 0.5878 GB, free: 29.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.4057, allocations: 317.8 kB / 0.5881 GB, free: 29.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.4058, allocations: 21.19 kB / 0.5881 GB, free: 29.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.4058, allocations: 351.4 kB / 0.5885 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.4075, allocations: 0.7381 MB / 0.5892 GB, free: 28.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.4092, allocations: 0.8757 MB / 0.59 GB, free: 28.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.4109, allocations: 0.788 MB / 0.5908 GB, free: 27.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4109, allocations: 5.156 kB / 0.5908 GB, free: 27.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01347/0.4244, allocations: 4.603 MB / 0.5953 GB, free: 26.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.4246, allocations: 0.8777 MB / 0.5962 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4246, allocations: 3.734 kB / 0.5962 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/0.431, allocations: 1.855 MB / 0.598 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4321, allocations: 200.7 kB / 0.5982 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.4552, allocations: 9.513 MB / 0.6075 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4569, allocations: 209 kB / 0.6077 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.4572, allocations: 40.78 kB / 0.6077 GB, free: 21.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4572, allocations: 3.625 kB / 0.6077 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/0.4703, allocations: 4.363 MB / 0.612 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4704, allocations: 5.812 kB / 0.612 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00569/0.4761, allocations: 1.828 MB / 0.6138 GB, free: 18.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4771, allocations: 197.4 kB / 0.6139 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.4954, allocations: 9.181 MB / 0.6229 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.4969, allocations: 192.5 kB / 0.6231 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4972, allocations: 47.94 kB / 0.6231 GB, free: 8.699 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: 10 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006623/0.4978, allocations: 314.5 kB / 0.6234 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.4981, allocations: 114.6 kB / 0.6235 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.5094, allocations: 4.28 MB / 0.6277 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5095, allocations: 9.875 kB / 0.6277 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5095, allocations: 0 / 0.6277 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.5095, allocations: 5.719 kB / 0.6277 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.5232, allocations: 5.73 MB / 0.6333 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5233, allocations: 4.703 kB / 0.6333 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.524, allocations: 123.9 kB / 0.6335 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/0.5296, allocations: 1.793 MB / 0.6352 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.5298, allocations: 19.98 kB / 0.6352 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.5477, allocations: 8.198 MB / 0.6432 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5477, allocations: 5.062 kB / 0.6432 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.5625, allocations: 5.252 MB / 0.6484 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.563, allocations: 195.5 kB / 0.6486 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.5633, allocations: 16 kB / 0.6486 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5646, allocations: 149 kB / 0.6487 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/0.5653, allocations: 180.7 kB / 0.6489 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.5655, allocations: 20 kB / 0.6489 GB, free: 14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009705/0.5665, allocations: 0.5956 MB / 0.6495 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.5665, allocations: 0 / 0.6495 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002399/0.5689, allocations: 0.6631 MB / 0.6501 GB, free: 12.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * 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 (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/0.5692, allocations: 128 kB / 0.6503 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/0.5805, allocations: 4.341 MB / 0.6545 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5805, allocations: 0 / 0.6545 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004517/0.5851, allocations: 1.651 MB / 0.6561 GB, free: 6.574 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.5859, allocations: 77.09 kB / 0.6562 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.5907, allocations: 2.442 MB / 0.6586 GB, free: 4.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.5913, allocations: 1.12 MB / 0.6597 GB, free: 2.926 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005584/0.5919, allocations: 134.5 kB / 0.6598 GB, free: 2.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5921, allocations: 55.42 kB / 0.6598 GB, free: 2.742 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5921, allocations: 4 kB / 0.6598 GB, free: 2.738 MB / 462.1 MB Notification: Performance of Templates: time 0.03784/0.63, allocations: 26.11 MB / 0.6853 GB, free: 8.832 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)