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.07848/0.07848, allocations: 12.6 MB / 28.88 MB, free: 0.6328 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.001066/0.001066, allocations: 107.5 kB / 32.47 MB, free: 3.578 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.475/1.475, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001419/0.001419, allocations: 188.5 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4417/0.4417, allocations: 78.51 MB / 420 MB, free: 11.25 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.004232/0.004233, allocations: 134.7 kB / 0.5565 GB, free: 28.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1564, allocations: 68.13 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01363/0.1701, allocations: 15.01 MB / 0.6376 GB, free: 376 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1802, allocations: 4.574 MB / 0.6421 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003879/0.1842, allocations: 28 kB / 0.6421 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.1871, allocations: 0.7828 MB / 0.6429 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.1957, allocations: 2.423 MB / 0.6453 GB, free: 8.555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003662/0.1994, allocations: 1.337 MB / 0.6466 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008412/0.2078, allocations: 4.891 MB / 0.6514 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.2095, allocations: 0.7918 MB / 0.6521 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.213, allocations: 1.879 MB / 0.654 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/0.2171, allocations: 2.455 MB / 0.6564 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.219, allocations: 404 kB / 0.6567 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.2216, allocations: 0.6365 MB / 0.6574 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.223, allocations: 0.9805 MB / 0.6583 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003261/0.2263, allocations: 2.001 MB / 0.6603 GB, free: 9.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006945/0.2333, allocations: 5.318 MB / 0.6655 GB, free: 3.781 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2334, allocations: 4 kB / 0.6655 GB, free: 3.777 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.2334, allocations: 0 / 0.6655 GB, free: 3.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001921/0.2336, allocations: 3.938 kB / 0.6655 GB, free: 3.773 MB / 478.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.03997/0.2735, allocations: 9.519 MB / 0.6748 GB, free: 10.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2736, allocations: 11.98 kB / 0.6748 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.2852, allocations: 1.747 MB / 0.6765 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.2903, allocations: 2.163 MB / 0.6786 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008516/0.2912, allocations: 0.6779 MB / 0.6793 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009619/0.2922, allocations: 235.8 kB / 0.6795 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/0.2987, allocations: 2.693 MB / 0.6821 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.2988, allocations: 0 / 0.6821 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.299, allocations: 76 kB / 0.6822 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.2991, allocations: 44 kB / 0.6822 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/0.3057, allocations: 2.826 MB / 0.685 GB, free: 15.54 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 preOpt removeSimpleEquations (simulation): time 0.02165/0.3274, allocations: 11 MB / 0.6957 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.3394, allocations: 4.968 MB / 0.7006 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/0.344, allocations: 1.931 MB / 0.7025 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.3444, allocations: 45.89 kB / 0.7025 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.3444, allocations: 56.56 kB / 0.7026 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.28e-06/0.3444, allocations: 0 / 0.7026 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.4718/0.8163, allocations: 29.55 MB / 0.7314 GB, free: 77.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.8164, allocations: 77.47 kB / 0.7315 GB, free: 77.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/0.8213, allocations: 2.9 MB / 0.7343 GB, free: 76.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009217/0.8222, allocations: 81.52 kB / 0.7344 GB, free: 76.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009626/0.8232, allocations: 1.261 MB / 0.7357 GB, free: 75.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.8244, allocations: 0.8981 MB / 0.7365 GB, free: 74.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.8258, allocations: 0.749 MB / 0.7373 GB, free: 74.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.8258, allocations: 304.2 kB / 0.7376 GB, free: 73.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/0.8303, allocations: 2.286 MB / 0.7398 GB, free: 72.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/0.8352, allocations: 2.678 MB / 0.7424 GB, free: 71.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/0.8447, allocations: 4.852 MB / 0.7471 GB, free: 68.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.8448, allocations: 3.906 kB / 0.7471 GB, free: 68.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01523/0.86, allocations: 7.233 MB / 0.7542 GB, free: 63.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.8601, allocations: 8 kB / 0.7542 GB, free: 63.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8601, allocations: 4 kB / 0.7542 GB, free: 63.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01761/0.8777, allocations: 5.729 MB / 0.7598 GB, free: 57.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.8811, allocations: 0.6632 MB / 0.7605 GB, free: 57.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.894, allocations: 5.442 MB / 0.7658 GB, free: 51.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/0.8994, allocations: 0.5117 MB / 0.7663 GB, free: 51.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008479/0.9003, allocations: 143.9 kB / 0.7664 GB, free: 51.11 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.001626/0.9019, allocations: 0.5222 MB / 0.7669 GB, free: 50.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009213/0.9028, allocations: 331.7 kB / 0.7672 GB, free: 50.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03207/0.9349, allocations: 10.52 MB / 0.7775 GB, free: 39.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.935, allocations: 28 kB / 0.7775 GB, free: 39.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.935, allocations: 7.875 kB / 0.7775 GB, free: 39.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.985e-05/0.9351, allocations: 15.42 kB / 0.7776 GB, free: 39.61 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.03836/0.9735, allocations: 14.63 MB / 0.7918 GB, free: 24.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.9735, allocations: 2.406 kB / 0.7918 GB, free: 24.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.9752, allocations: 255.7 kB / 0.7921 GB, free: 24.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/0.9902, allocations: 4.765 MB / 0.7967 GB, free: 19.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007146/0.9909, allocations: 55.98 kB / 0.7968 GB, free: 19.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05104/1.042, allocations: 21.44 MB / 0.8177 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.042, allocations: 0 / 0.8177 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04147/1.084, allocations: 12.82 MB / 0.8303 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.085, allocations: 0.4883 MB / 0.8307 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.086, allocations: 48.88 kB / 0.8308 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/1.09, allocations: 247.7 kB / 0.831 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002084/1.092, allocations: 0.518 MB / 0.8315 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/1.092, allocations: 63.98 kB / 0.8316 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003143/1.095, allocations: 1.877 MB / 0.8334 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.873e-06/1.095, allocations: 0 / 0.8334 GB, free: 13.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004646/1.1, allocations: 1.125 MB / 0.8345 GB, free: 12.84 MB / 0.545 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.0006504/1.101, allocations: 180.3 kB / 0.8347 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01845/1.119, allocations: 6.151 MB / 0.8407 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.119, allocations: 0 / 0.8407 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01234/1.132, allocations: 3.785 MB / 0.8444 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/1.135, allocations: 265.1 kB / 0.8446 GB, free: 2.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.147, allocations: 6.332 MB / 0.8508 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.149, allocations: 1.841 MB / 0.8526 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.15, allocations: 195.4 kB / 0.8528 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.15, allocations: 7.938 kB / 0.8528 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.07948/1.23, allocations: 55.32 MB / 0.9068 GB, free: 2.668 MB / 0.6075 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)