Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.257/1.257, allocations: 222.9 MB / 238.8 MB, free: 4.727 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.001266/0.001266, allocations: 188.5 kB / 289.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4327/0.4327, allocations: 78.52 MB / 417.8 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 75.88 kB / 496.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 68.17 MB / 0.5517 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.238/0.3561, allocations: 6.138 MB / 0.5577 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.3592, allocations: 1.919 MB / 0.5596 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.3596, allocations: 14.22 kB / 0.5596 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.3601, allocations: 163.2 kB / 0.5597 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.3614, allocations: 0.5888 MB / 0.5603 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3625, allocations: 0.5943 MB / 0.5609 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009445/0.3634, allocations: 1.219 MB / 0.5621 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.3638, allocations: 302 kB / 0.5624 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.3643, allocations: 496.4 kB / 0.5628 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.3648, allocations: 0.6481 MB / 0.5635 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.365, allocations: 62.97 kB / 0.5635 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.3653, allocations: 204.4 kB / 0.5637 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3655, allocations: 238.2 kB / 0.5639 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.3659, allocations: 0.5447 MB / 0.5645 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.3668, allocations: 1.398 MB / 0.5658 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3668, allocations: 0 / 0.5658 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3668, allocations: 0.7188 kB / 0.5658 GB, free: 34.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3669, allocations: 0 / 0.5658 GB, free: 34.56 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.006678/0.3735, allocations: 2.35 MB / 0.5681 GB, free: 33.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3736, allocations: 10.72 kB / 0.5682 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.3775, allocations: 0.6627 MB / 0.5688 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.3785, allocations: 0.7522 MB / 0.5695 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.3787, allocations: 220.1 kB / 0.5697 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3788, allocations: 72.94 kB / 0.5698 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.3807, allocations: 1.099 MB / 0.5709 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3808, allocations: 3.219 kB / 0.5709 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.3808, allocations: 32.69 kB / 0.5709 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3809, allocations: 18.19 kB / 0.5709 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3829, allocations: 1.028 MB / 0.5719 GB, free: 32.96 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.004235/0.3871, allocations: 2.96 MB / 0.5748 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.3889, allocations: 1.278 MB / 0.5761 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.3902, allocations: 0.6947 MB / 0.5768 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.3903, allocations: 18.92 kB / 0.5768 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3903, allocations: 42.44 kB / 0.5768 GB, free: 31.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.3903, allocations: 0 / 0.5768 GB, free: 31.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02282/0.4132, allocations: 6.214 MB / 0.5829 GB, free: 30.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.4133, allocations: 86.39 kB / 0.583 GB, free: 30.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4144, allocations: 0.8894 MB / 0.5838 GB, free: 29.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.4147, allocations: 41.89 kB / 0.5839 GB, free: 29.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.4149, allocations: 473.2 kB / 0.5843 GB, free: 29.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.4152, allocations: 320.2 kB / 0.5846 GB, free: 29.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.4155, allocations: 199.9 kB / 0.5848 GB, free: 29.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.4156, allocations: 347.8 kB / 0.5852 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.417, allocations: 0.6761 MB / 0.5858 GB, free: 28.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4184, allocations: 0.8064 MB / 0.5866 GB, free: 28.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.4212, allocations: 1.466 MB / 0.588 GB, free: 27.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.4212, allocations: 1.062 kB / 0.588 GB, free: 27.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01155/0.4328, allocations: 3.817 MB / 0.5918 GB, free: 26.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4328, allocations: 8.812 kB / 0.5918 GB, free: 26.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4328, allocations: 4.078 kB / 0.5918 GB, free: 26.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/0.4384, allocations: 1.59 MB / 0.5933 GB, free: 26.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4395, allocations: 182.9 kB / 0.5935 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.4572, allocations: 8.239 MB / 0.6015 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.4587, allocations: 167.6 kB / 0.6017 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4589, allocations: 40.45 kB / 0.6017 GB, free: 22.37 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001772/0.4606, allocations: 0.8386 MB / 0.6026 GB, free: 22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001502/0.4622, allocations: 0.7887 MB / 0.6033 GB, free: 21.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002835/0.465, allocations: 1.451 MB / 0.6048 GB, free: 20.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/0.465, allocations: 0 / 0.6048 GB, free: 20.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.01136/0.4764, allocations: 3.75 MB / 0.6084 GB, free: 20.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4764, allocations: 6.938 kB / 0.6084 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4764, allocations: 2.531 kB / 0.6084 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/0.4814, allocations: 1.581 MB / 0.61 GB, free: 19.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.4824, allocations: 186.3 kB / 0.6101 GB, free: 19.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.4976, allocations: 8.017 MB / 0.618 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.4992, allocations: 159.1 kB / 0.6181 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/0.4993, allocations: 39.98 kB / 0.6182 GB, free: 11.07 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 (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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0003542/0.4997, allocations: 228.1 kB / 0.6184 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.4999, allocations: 118.5 kB / 0.6185 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009672/0.5095, allocations: 3.499 MB / 0.6219 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.5096, allocations: 15.94 kB / 0.6219 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5096, allocations: 0 / 0.6219 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.5097, allocations: 7.969 kB / 0.6219 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.5216, allocations: 4.965 MB / 0.6268 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5216, allocations: 0 / 0.6268 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.5222, allocations: 111.9 kB / 0.6269 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/0.5268, allocations: 1.535 MB / 0.6284 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5269, allocations: 20.66 kB / 0.6284 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.5421, allocations: 7.056 MB / 0.6353 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5422, allocations: 0.6562 kB / 0.6353 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.5549, allocations: 4.408 MB / 0.6396 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.5553, allocations: 195.5 kB / 0.6398 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.5555, allocations: 17.44 kB / 0.6398 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/0.5565, allocations: 99.89 kB / 0.6399 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.5571, allocations: 184.7 kB / 0.6401 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.5572, allocations: 20 kB / 0.6401 GB, free: 4.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007899/0.558, allocations: 0.5995 MB / 0.6407 GB, free: 3.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.558, allocations: 0 / 0.6407 GB, free: 3.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001785/0.5598, allocations: 0.6554 MB / 0.6413 GB, free: 3.02 MB / 446.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 (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 {(21,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002374/0.56, allocations: 124.7 kB / 0.6414 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.5706, allocations: 3.868 MB / 0.6452 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.5707, allocations: 0 / 0.6452 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.5746, allocations: 1.442 MB / 0.6466 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.5755, allocations: 102.4 kB / 0.6467 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.5801, allocations: 2.486 MB / 0.6492 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.5807, allocations: 1.101 MB / 0.6502 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005493/0.5813, allocations: 132.1 kB / 0.6504 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.5815, allocations: 51.42 kB / 0.6504 GB, free: 9.676 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5815, allocations: 0.5625 kB / 0.6504 GB, free: 9.676 MB / 462.1 MB Notification: Performance of Templates: time 0.038/0.6195, allocations: 27.5 MB / 0.6773 GB, free: 14.39 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)