Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08613/0.08613, allocations: 12.6 MB / 28.86 MB, free: 0.6641 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 111.5 kB / 32.46 MB, free: 3.613 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 241.1 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 191.4 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4408/0.4408, allocations: 78.51 MB / 419.9 MB, free: 11.3 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 143.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.295, allocations: 68.1 MB / 0.556 GB, free: 33.01 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01158/0.3066, allocations: 15.02 MB / 0.5707 GB, free: 21.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009687/0.3163, allocations: 4.584 MB / 0.5751 GB, free: 17.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.3202, allocations: 26.81 kB / 0.5752 GB, free: 17.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.3227, allocations: 0.7764 MB / 0.5759 GB, free: 16.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007546/0.3303, allocations: 2.413 MB / 0.5783 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.3334, allocations: 1.342 MB / 0.5796 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006522/0.34, allocations: 4.891 MB / 0.5844 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.3411, allocations: 0.7918 MB / 0.5851 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3437, allocations: 1.879 MB / 0.587 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.346, allocations: 2.451 MB / 0.5894 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.3465, allocations: 404 kB / 0.5897 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009573/0.3474, allocations: 0.6403 MB / 0.5904 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.348, allocations: 0.9729 MB / 0.5913 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.3493, allocations: 2.009 MB / 0.5933 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005202/0.3545, allocations: 5.326 MB / 0.5985 GB, free: 11.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3545, allocations: 4 kB / 0.5985 GB, free: 11.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3545, allocations: 0 / 0.5985 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001187/0.3547, allocations: 0 / 0.5985 GB, free: 11.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03735/0.392, allocations: 9.511 MB / 0.6078 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3921, allocations: 11.98 kB / 0.6078 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.403, allocations: 1.751 MB / 0.6095 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.4074, allocations: 2.171 MB / 0.6116 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007831/0.4082, allocations: 0.6663 MB / 0.6123 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006469/0.4089, allocations: 235.8 kB / 0.6125 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005704/0.4146, allocations: 2.693 MB / 0.6151 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.4146, allocations: 0 / 0.6151 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.4149, allocations: 79.98 kB / 0.6152 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.4149, allocations: 51.94 kB / 0.6153 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006148/0.4211, allocations: 2.83 MB / 0.618 GB, free: 7.547 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.02069/0.4418, allocations: 11 MB / 0.6288 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.4534, allocations: 4.964 MB / 0.6336 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/0.4581, allocations: 1.931 MB / 0.6355 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.4585, allocations: 45.89 kB / 0.6355 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.4586, allocations: 60.56 kB / 0.6356 GB, free: 4.781 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 7.544e-06/0.4586, allocations: 3.984 kB / 0.6356 GB, free: 4.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1197/0.5783, allocations: 29.55 MB / 0.6645 GB, free: 7.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.5784, allocations: 77.41 kB / 0.6645 GB, free: 7.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/0.5832, allocations: 2.898 MB / 0.6674 GB, free: 4.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008771/0.5841, allocations: 85.7 kB / 0.6674 GB, free: 4.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.5854, allocations: 1.256 MB / 0.6687 GB, free: 2.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/0.587, allocations: 0.9013 MB / 0.6695 GB, free: 1.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.5888, allocations: 0.7561 MB / 0.6703 GB, free: 1.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5889, allocations: 301.1 kB / 0.6706 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/0.594, allocations: 2.288 MB / 0.6728 GB, free: 14.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/0.5999, allocations: 2.673 MB / 0.6754 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6112, allocations: 4.847 MB / 0.6801 GB, free: 6.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.6112, allocations: 7.938 kB / 0.6802 GB, free: 6.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01748/0.6287, allocations: 7.228 MB / 0.6872 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.6288, allocations: 8 kB / 0.6872 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6288, allocations: 4 kB / 0.6872 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01939/0.6482, allocations: 5.738 MB / 0.6928 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.6518, allocations: 0.667 MB / 0.6935 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.6671, allocations: 5.45 MB / 0.6988 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/0.6727, allocations: 0.504 MB / 0.6993 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009536/0.6737, allocations: 136 kB / 0.6994 GB, free: 3.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.002129/0.6758, allocations: 0.5207 MB / 0.6999 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/0.6771, allocations: 335.7 kB / 0.7003 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2631/0.9402, allocations: 10.52 MB / 0.7105 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.9403, allocations: 24.28 kB / 0.7105 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.9403, allocations: 0 / 0.7105 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.9404, allocations: 12.27 kB / 0.7106 GB, free: 125.2 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.03658/0.977, allocations: 14.62 MB / 0.7248 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.9771, allocations: 4 kB / 0.7248 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.9789, allocations: 261.2 kB / 0.7251 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01394/0.9929, allocations: 4.762 MB / 0.7297 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/0.9936, allocations: 55.73 kB / 0.7298 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04504/1.039, allocations: 21.46 MB / 0.7508 GB, free: 97.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.039, allocations: 0 / 0.7508 GB, free: 97.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03403/1.073, allocations: 12.82 MB / 0.7633 GB, free: 84.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.074, allocations: 496.7 kB / 0.7637 GB, free: 84.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008786/1.075, allocations: 48 kB / 0.7638 GB, free: 84.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.078, allocations: 247.7 kB / 0.764 GB, free: 84.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/1.08, allocations: 0.5217 MB / 0.7645 GB, free: 83.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.08, allocations: 63.98 kB / 0.7646 GB, free: 83.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002313/1.082, allocations: 1.881 MB / 0.7664 GB, free: 81.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.082, allocations: 0 / 0.7664 GB, free: 81.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002853/1.085, allocations: 1.118 MB / 0.7675 GB, free: 80.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004018/1.085, allocations: 177.7 kB / 0.7677 GB, free: 80.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.1, allocations: 6.156 MB / 0.7737 GB, free: 74.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.1, allocations: 0 / 0.7737 GB, free: 74.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009732/1.11, allocations: 3.798 MB / 0.7774 GB, free: 70.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.112, allocations: 270.1 kB / 0.7777 GB, free: 70.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/1.121, allocations: 6.273 MB / 0.7838 GB, free: 63.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.122, allocations: 1.845 MB / 0.7856 GB, free: 62.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001161/1.123, allocations: 288.9 kB / 0.7859 GB, free: 61.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/1.124, allocations: 187.4 kB / 0.7861 GB, free: 61.58 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.124, allocations: 0 / 0.7861 GB, free: 61.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.07392/1.198, allocations: 61.17 MB / 0.8458 GB, free: 436 kB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)