Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 168.2 kB / 16.1 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 240.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008026/0.0008022, allocations: 90.61 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5395/0.5395, allocations: 78.6 MB / 421 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 12 kB / 0.4894 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 69.36 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.009773/0.3563, allocations: 15.06 MB / 0.5718 GB, free: 3.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008541/0.3649, allocations: 4.678 MB / 0.5764 GB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3668, allocations: 32 kB / 0.5764 GB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.3683, allocations: 0.6213 MB / 0.577 GB, free: 14.33 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.3741, allocations: 2.168 MB / 0.5792 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.3769, allocations: 1.228 MB / 0.5804 GB, free: 10.97 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006051/0.383, allocations: 4.61 MB / 0.5849 GB, free: 6.344 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.3841, allocations: 0.6942 MB / 0.5855 GB, free: 5.613 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.3866, allocations: 1.617 MB / 0.5871 GB, free: 3.988 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.3892, allocations: 2.201 MB / 0.5893 GB, free: 1.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.3896, allocations: 184 kB / 0.5895 GB, free: 1.598 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3906, allocations: 399.8 kB / 0.5898 GB, free: 1.207 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007101/0.3914, allocations: 0.758 MB / 0.5906 GB, free: 456 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.3933, allocations: 1.788 MB / 0.5923 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.3974, allocations: 4.062 MB / 0.5963 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3975, allocations: 4 kB / 0.5963 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3975, allocations: 0 / 0.5963 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.3976, allocations: 0 / 0.5963 GB, free: 10.56 MB / 410.7 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.03495/0.4325, allocations: 9.085 MB / 0.6052 GB, free: 1.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4326, allocations: 8.031 kB / 0.6052 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.4439, allocations: 1.771 MB / 0.6069 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/0.4485, allocations: 2.171 MB / 0.609 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007844/0.4493, allocations: 0.6898 MB / 0.6097 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006803/0.45, allocations: 247.8 kB / 0.6099 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00596/0.456, allocations: 2.865 MB / 0.6127 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.456, allocations: 0 / 0.6127 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.4562, allocations: 76 kB / 0.6128 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/0.4563, allocations: 48 kB / 0.6128 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006247/0.4625, allocations: 3.029 MB / 0.6158 GB, free: 6.34 MB / 426.7 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.01874/0.4813, allocations: 11.2 MB / 0.6267 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.4935, allocations: 5.686 MB / 0.6323 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/0.4977, allocations: 2.107 MB / 0.6343 GB, free: 2.598 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.4979, allocations: 41.97 kB / 0.6344 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.498, allocations: 56.56 kB / 0.6344 GB, free: 2.492 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.369e-06/0.498, allocations: 0 / 0.6344 GB, free: 2.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1293/0.6273, allocations: 35.74 MB / 0.6693 GB, free: 14.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.6274, allocations: 77.41 kB / 0.6694 GB, free: 14.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/0.6323, allocations: 2.902 MB / 0.6722 GB, free: 11.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000911/0.6333, allocations: 81.7 kB / 0.6723 GB, free: 11.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.6344, allocations: 1.26 MB / 0.6736 GB, free: 10.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.6356, allocations: 0.9013 MB / 0.6744 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000541/0.6362, allocations: 394.6 kB / 0.6748 GB, free: 9.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.6363, allocations: 301.1 kB / 0.6751 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005102/0.6414, allocations: 2.46 MB / 0.6775 GB, free: 6.258 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/0.6467, allocations: 2.864 MB / 0.6803 GB, free: 3.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.349/0.9958, allocations: 5.205 MB / 0.6854 GB, free: 107.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.9958, allocations: 5.344 kB / 0.6854 GB, free: 107.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01984/1.016, allocations: 7.762 MB / 0.693 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/1.016, allocations: 8.438 kB / 0.693 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.016, allocations: 7.812 kB / 0.693 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01933/1.035, allocations: 6.563 MB / 0.6994 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/1.039, allocations: 0.6605 MB / 0.7 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.052, allocations: 6.151 MB / 0.706 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005388/1.057, allocations: 0.5969 MB / 0.7066 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000839/1.058, allocations: 143.4 kB / 0.7068 GB, free: 101.7 MB / 490.7 MB 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.002115/1.06, allocations: 0.5205 MB / 0.7073 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.062, allocations: 334.8 kB / 0.7076 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03291/1.095, allocations: 12.87 MB / 0.7202 GB, free: 90.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.095, allocations: 28 kB / 0.7202 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.095, allocations: 0 / 0.7202 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-05/1.095, allocations: 11.95 kB / 0.7202 GB, free: 90.5 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.0419/1.137, allocations: 17 MB / 0.7368 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.137, allocations: 0 / 0.7368 GB, free: 73.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.138, allocations: 270.9 kB / 0.7371 GB, free: 73.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/1.153, allocations: 5.573 MB / 0.7425 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006011/1.154, allocations: 55.94 kB / 0.7426 GB, free: 67.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04769/1.202, allocations: 22.03 MB / 0.7641 GB, free: 45.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.202, allocations: 4 kB / 0.7641 GB, free: 45.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03902/1.241, allocations: 15.33 MB / 0.779 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.242, allocations: 0.4977 MB / 0.7795 GB, free: 29.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.244, allocations: 52 kB / 0.7796 GB, free: 29.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/1.247, allocations: 336.8 kB / 0.7799 GB, free: 28.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002063/1.249, allocations: 0.5099 MB / 0.7804 GB, free: 28.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003916/1.25, allocations: 63.98 kB / 0.7805 GB, free: 28.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003054/1.253, allocations: 1.881 MB / 0.7823 GB, free: 26.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.253, allocations: 0 / 0.7823 GB, free: 26.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004076/1.257, allocations: 1.126 MB / 0.7834 GB, free: 25.41 MB / 490.7 MB 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.0005773/1.257, allocations: 183.5 kB / 0.7836 GB, free: 25.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01517/1.273, allocations: 6.83 MB / 0.7902 GB, free: 18.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.273, allocations: 0 / 0.7902 GB, free: 18.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009856/1.282, allocations: 4.27 MB / 0.7944 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.285, allocations: 263.4 kB / 0.7947 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.296, allocations: 7.802 MB / 0.8023 GB, free: 6.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.298, allocations: 1.845 MB / 0.8041 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.299, allocations: 187.4 kB / 0.8043 GB, free: 3.945 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/1.299, allocations: 3.938 kB / 0.8043 GB, free: 3.941 MB / 490.7 MB Notification: Performance of Templates: time 0.07209/1.371, allocations: 54.98 MB / 0.858 GB, free: 12.9 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)