Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001303/0.001303, allocations: 192.5 kB / 289.5 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 91.89 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001627, allocations: 75.88 kB / 0.5019 GB, free: 7.781 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3879, allocations: 71.27 MB / 0.5715 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01062/0.3986, allocations: 14.99 MB / 0.5861 GB, free: 26.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.4074, allocations: 4.597 MB / 0.5906 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.4111, allocations: 25.91 kB / 0.5906 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.4137, allocations: 0.7819 MB / 0.5914 GB, free: 22.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.4199, allocations: 1.876 MB / 0.5932 GB, free: 21.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.4232, allocations: 1.426 MB / 0.5946 GB, free: 20.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006531/0.4297, allocations: 4.496 MB / 0.599 GB, free: 18.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.4312, allocations: 0.7967 MB / 0.5998 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.4342, allocations: 1.798 MB / 0.6015 GB, free: 17.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.438, allocations: 2.365 MB / 0.6038 GB, free: 16.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.4393, allocations: 403.1 kB / 0.6042 GB, free: 16.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.4415, allocations: 0.6479 MB / 0.6049 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007272/0.4422, allocations: 0.9377 MB / 0.6058 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003146/0.4453, allocations: 1.975 MB / 0.6077 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007908/0.4533, allocations: 5.225 MB / 0.6128 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4533, allocations: 1.906 kB / 0.6128 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4533, allocations: 0 / 0.6128 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002059/0.4535, allocations: 0 / 0.6128 GB, free: 11.68 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03635/0.4899, allocations: 8.156 MB / 0.6208 GB, free: 8.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.49, allocations: 13.78 kB / 0.6208 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.5032, allocations: 1.747 MB / 0.6225 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.5103, allocations: 2.173 MB / 0.6246 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008051/0.5111, allocations: 0.6676 MB / 0.6253 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.5124, allocations: 241.7 kB / 0.6255 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.5191, allocations: 2.684 MB / 0.6281 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.5192, allocations: 0 / 0.6281 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.5195, allocations: 79.06 kB / 0.6282 GB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.5195, allocations: 48.06 kB / 0.6282 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.5254, allocations: 2.838 MB / 0.631 GB, free: 1.469 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.02285/0.5483, allocations: 11.05 MB / 0.6418 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.5606, allocations: 4.971 MB / 0.6466 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.5651, allocations: 1.935 MB / 0.6485 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.5654, allocations: 41.95 kB / 0.6486 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5655, allocations: 60.56 kB / 0.6486 GB, free: 14.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.589e-06/0.5655, allocations: 3.938 kB / 0.6486 GB, free: 14.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.1277/0.6932, allocations: 29.55 MB / 0.6775 GB, free: 1.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.6934, allocations: 81.39 kB / 0.6776 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.6986, allocations: 2.91 MB / 0.6804 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001203/0.6998, allocations: 81.7 kB / 0.6805 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.701, allocations: 1.256 MB / 0.6817 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/0.7028, allocations: 0.8975 MB / 0.6826 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001653/0.7044, allocations: 0.7482 MB / 0.6833 GB, free: 10.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.7045, allocations: 305.1 kB / 0.6836 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005027/0.7096, allocations: 2.28 MB / 0.6858 GB, free: 8.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005505/0.7151, allocations: 2.677 MB / 0.6885 GB, free: 5.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.726, allocations: 4.839 MB / 0.6932 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.726, allocations: 7.938 kB / 0.6932 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01807/0.7441, allocations: 7.216 MB / 0.7002 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.7442, allocations: 8 kB / 0.7002 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7442, allocations: 4.688 kB / 0.7002 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/0.764, allocations: 5.745 MB / 0.7059 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.7681, allocations: 0.6631 MB / 0.7065 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.7827, allocations: 5.454 MB / 0.7118 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/0.7887, allocations: 0.504 MB / 0.7123 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006884/0.7894, allocations: 140 kB / 0.7125 GB, free: 12.92 MB / 0.5137 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.001407/0.7908, allocations: 0.5176 MB / 0.713 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.7918, allocations: 335.7 kB / 0.7133 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03519/0.827, allocations: 10.53 MB / 0.7236 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/0.8271, allocations: 27.94 kB / 0.7236 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.8271, allocations: 0 / 0.7236 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.999e-05/0.8272, allocations: 15.95 kB / 0.7236 GB, free: 1.41 MB / 0.5137 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.04354/0.8707, allocations: 14.65 MB / 0.7379 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.8708, allocations: 0 / 0.7379 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.8725, allocations: 259.6 kB / 0.7382 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/0.8894, allocations: 4.769 MB / 0.7428 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000634/0.89, allocations: 55.98 kB / 0.7429 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05626/0.9463, allocations: 21.47 MB / 0.7638 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9463, allocations: 4 kB / 0.7638 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2926/1.239, allocations: 12.81 MB / 0.7764 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/1.241, allocations: 498.1 kB / 0.7768 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/1.243, allocations: 50 kB / 0.7769 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/1.247, allocations: 250 kB / 0.7771 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002264/1.249, allocations: 0.5198 MB / 0.7776 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.249, allocations: 59.67 kB / 0.7777 GB, free: 162 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003647/1.253, allocations: 1.876 MB / 0.7795 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.253, allocations: 2.406 kB / 0.7795 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004335/1.257, allocations: 1.121 MB / 0.7806 GB, free: 161.8 MB / 0.5606 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.0005565/1.258, allocations: 176.8 kB / 0.7808 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.279, allocations: 6.228 MB / 0.7869 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.279, allocations: 5.219 kB / 0.7869 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/1.293, allocations: 3.799 MB / 0.7906 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.296, allocations: 265.5 kB / 0.7908 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.308, allocations: 6.345 MB / 0.797 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.309, allocations: 1.846 MB / 0.7988 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001779/1.311, allocations: 285.4 kB / 0.7991 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008439/1.312, allocations: 190.7 kB / 0.7993 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.312, allocations: 1.859 kB / 0.7993 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08836/1.4, allocations: 61.19 MB / 0.859 GB, free: 110 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)