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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.364/1.364, allocations: 222.9 MB / 238.8 MB, free: 4.668 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.00129/0.00129, allocations: 188.5 kB / 289.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5269/0.5269, allocations: 91.89 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 79.88 kB / 0.5012 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3597, allocations: 71.26 MB / 0.5708 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004599/0.3643, allocations: 5.544 MB / 0.5762 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3669, allocations: 1.672 MB / 0.5778 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.3674, allocations: 14.47 kB / 0.5779 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.3678, allocations: 133.5 kB / 0.578 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3692, allocations: 0.5843 MB / 0.5786 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.3701, allocations: 473.9 kB / 0.579 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.3709, allocations: 1.03 MB / 0.58 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.3712, allocations: 234.2 kB / 0.5802 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.3716, allocations: 439.6 kB / 0.5807 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.3721, allocations: 0.5612 MB / 0.5812 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3722, allocations: 53.06 kB / 0.5812 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.3725, allocations: 185.4 kB / 0.5814 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3727, allocations: 204.8 kB / 0.5816 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.373, allocations: 473.4 kB / 0.5821 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000775/0.3738, allocations: 1.18 MB / 0.5832 GB, free: 29.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3738, allocations: 2.812 kB / 0.5832 GB, free: 29.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3738, allocations: 4 kB / 0.5832 GB, free: 29.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3738, allocations: 0 / 0.5832 GB, free: 29.72 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.00643/0.3803, allocations: 2.123 MB / 0.5853 GB, free: 28.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3803, allocations: 11.83 kB / 0.5853 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.3845, allocations: 0.6381 MB / 0.5859 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.3854, allocations: 0.6544 MB / 0.5866 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3856, allocations: 177.1 kB / 0.5867 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3857, allocations: 64.75 kB / 0.5868 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.3875, allocations: 0.8531 MB / 0.5876 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3875, allocations: 4.656 kB / 0.5876 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.3876, allocations: 27.16 kB / 0.5877 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3876, allocations: 15.81 kB / 0.5877 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.3895, allocations: 0.8884 MB / 0.5886 GB, free: 27.33 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.003954/0.3935, allocations: 2.423 MB / 0.5909 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.395, allocations: 1.031 MB / 0.5919 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.3962, allocations: 0.6338 MB / 0.5925 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3963, allocations: 12.39 kB / 0.5926 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3964, allocations: 43.09 kB / 0.5926 GB, free: 25.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.554e-06/0.3964, allocations: 0 / 0.5926 GB, free: 25.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.0219/0.4183, allocations: 5.544 MB / 0.598 GB, free: 24.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4184, allocations: 60.31 kB / 0.5981 GB, free: 23.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.4195, allocations: 0.7632 MB / 0.5988 GB, free: 23.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.4196, allocations: 40.58 kB / 0.5989 GB, free: 23.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.4199, allocations: 391.5 kB / 0.5992 GB, free: 23.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.4201, allocations: 278.4 kB / 0.5995 GB, free: 23.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/0.4205, allocations: 175.3 kB / 0.5997 GB, free: 22.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.4206, allocations: 347.4 kB / 0.6 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.4219, allocations: 0.5982 MB / 0.6006 GB, free: 22.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4233, allocations: 0.7129 MB / 0.6013 GB, free: 22.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.426, allocations: 1.307 MB / 0.6026 GB, free: 21.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.426, allocations: 1.438 kB / 0.6026 GB, free: 21.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01148/0.4375, allocations: 3.49 MB / 0.606 GB, free: 20.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4375, allocations: 8.25 kB / 0.606 GB, free: 20.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4375, allocations: 2.891 kB / 0.606 GB, free: 20.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005611/0.4432, allocations: 1.453 MB / 0.6074 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4442, allocations: 172.1 kB / 0.6076 GB, free: 20.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/0.4611, allocations: 7.198 MB / 0.6146 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4628, allocations: 145.1 kB / 0.6147 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4629, allocations: 34.89 kB / 0.6148 GB, free: 16.68 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.0005003/0.4635, allocations: 221.6 kB / 0.615 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.4637, allocations: 96.75 kB / 0.6151 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/0.4737, allocations: 3.226 MB / 0.6182 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.4737, allocations: 11.98 kB / 0.6182 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4738, allocations: 0 / 0.6182 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.4738, allocations: 7.984 kB / 0.6182 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.485, allocations: 4.539 MB / 0.6227 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.4851, allocations: 0 / 0.6227 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006585/0.4857, allocations: 99.86 kB / 0.6228 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/0.4899, allocations: 1.4 MB / 0.6241 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.4901, allocations: 16 kB / 0.6241 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.5021, allocations: 6.14 MB / 0.6301 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5021, allocations: 7.938 kB / 0.6301 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.5143, allocations: 4.041 MB / 0.6341 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.5148, allocations: 179.8 kB / 0.6343 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5149, allocations: 16 kB / 0.6343 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.5158, allocations: 83.89 kB / 0.6344 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/0.5164, allocations: 168.2 kB / 0.6345 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.5165, allocations: 16 kB / 0.6345 GB, free: 12.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006583/0.5171, allocations: 0.5146 MB / 0.635 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5172, allocations: 0 / 0.635 GB, free: 12.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5184, allocations: 355.6 kB / 0.6354 GB, free: 11.9 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.0002593/0.5186, allocations: 127.2 kB / 0.6355 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005794/0.5244, allocations: 2.015 MB / 0.6375 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.5245, allocations: 4.062 kB / 0.6375 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.5284, allocations: 1.259 MB / 0.6387 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.5293, allocations: 77.77 kB / 0.6388 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5328, allocations: 1.992 MB / 0.6407 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.5334, allocations: 1.013 MB / 0.6417 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.5338, allocations: 93.45 kB / 0.6418 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.534, allocations: 51.36 kB / 0.6418 GB, free: 5.191 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.534, allocations: 0 / 0.6418 GB, free: 5.191 MB / 446.1 MB Notification: Performance of Templates: time 0.02752/0.5615, allocations: 17.32 MB / 0.6588 GB, free: 3.91 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)