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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05579/0.05579, allocations: 9.511 MB / 29.37 MB, free: 5.871 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 99.34 kB / 35.55 MB, free: 436 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 158.6 MB / 197.4 MB, free: 6.879 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 168.4 kB / 249.9 MB, free: 5.434 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2198/0.2198, allocations: 59.7 MB / 312.9 MB, free: 6.32 MB / 298.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 351 MB, free: 140 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.82e-05, allocations: 10.25 kB / 351 MB, free: 128 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.2296/0.2296, allocations: 13.66 MB / 364.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.2411, allocations: 4.668 MB / 369.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/0.2452, allocations: 28.41 kB / 369.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.2489, allocations: 0.8076 MB / 370.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.2574, allocations: 2.591 MB / 372.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.2609, allocations: 1.323 MB / 374.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008118/0.269, allocations: 5.026 MB / 379.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.2703, allocations: 0.5442 MB / 379.7 MB, free: 1.629 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.2757, allocations: 2.683 MB / 382.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.2786, allocations: 2.025 MB / 384.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.2799, allocations: 407.9 kB / 384.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2817, allocations: 0.5913 MB / 385.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.2823, allocations: 0.9921 MB / 386.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.2845, allocations: 1.371 MB / 387.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005262/0.2897, allocations: 3.483 MB / 391.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.2898, allocations: 1.812 kB / 391.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.2898, allocations: 3.938 kB / 391.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.2899, allocations: 0 / 391.2 MB, free: 6.051 MB / 346.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.02187/0.3118, allocations: 9.933 MB / 401.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.3118, allocations: 12.03 kB / 401.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0082/0.32, allocations: 2.187 MB / 403.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.3236, allocations: 1.317 MB / 404.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006551/0.3243, allocations: 0.7974 MB / 405.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.3248, allocations: 235.9 kB / 405.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.3269, allocations: 1.46 MB / 407.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.327, allocations: 3.938 kB / 407.1 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.3271, allocations: 77.31 kB / 407.2 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.3271, allocations: 48 kB / 407.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3286, allocations: 0.834 MB / 408.1 MB, free: 4.938 MB / 362.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.01002/0.3386, allocations: 4.79 MB / 412.9 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.3423, allocations: 1.909 MB / 414.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.3431, allocations: 0.5602 MB / 415.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.3433, allocations: 49.98 kB / 415.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.3433, allocations: 56.56 kB / 415.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 5.4e-06/0.3433, allocations: 0 / 415.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=249): time 0.05371/0.397, allocations: 21.39 MB / 436.9 MB, free: 8.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.3971, allocations: 77.41 kB / 436.9 MB, free: 7.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.3999, allocations: 2.263 MB / 439.2 MB, free: 5.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007065/0.4006, allocations: 85.7 kB / 439.3 MB, free: 5.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.4011, allocations: 0.837 MB / 440.1 MB, free: 4.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000882/0.402, allocations: 0.9528 MB / 441.1 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/0.403, allocations: 0.7243 MB / 441.8 MB, free: 3.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.4031, allocations: 301.1 kB / 442.1 MB, free: 2.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4046, allocations: 0.7968 MB / 442.9 MB, free: 1.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4063, allocations: 1.205 MB / 444.1 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.4099, allocations: 2.289 MB / 446.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.4099, allocations: 4 kB / 446.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=515) (initialization): time 0.01115/0.421, allocations: 5.645 MB / 452 MB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4211, allocations: 4 kB / 452 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4211, allocations: 9 kB / 452 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007762/0.4288, allocations: 3.508 MB / 455.6 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.4314, allocations: 0.6982 MB / 456.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.4355, allocations: 2.317 MB / 458.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.4387, allocations: 458.1 kB / 459 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.439, allocations: 95.97 kB / 459.1 MB, free: 1.5 MB / 410.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 (394): * Single equations (assignments): 393 * 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.000813/0.4398, allocations: 273.2 kB / 459.4 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/0.4408, allocations: 271.7 kB / 459.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.4527, allocations: 6.054 MB / 465.7 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/0.4528, allocations: 27.98 kB / 465.7 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4528, allocations: 0 / 465.7 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.932e-05/0.4529, allocations: 15.89 kB / 465.7 MB, free: 10.8 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 postOpt removeSimpleEquations (simulation): time 0.0162/0.4691, allocations: 7.42 MB / 473.2 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4691, allocations: 0 / 473.2 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.4701, allocations: 267.7 kB / 473.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/0.4832, allocations: 4.851 MB / 478.3 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006836/0.4839, allocations: 51.98 kB / 478.3 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.5006, allocations: 8.037 MB / 486.4 MB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.5006, allocations: 0 / 486.4 MB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.5149, allocations: 6.66 MB / 493 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.516, allocations: 325.1 kB / 493.3 MB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.5164, allocations: 44 kB / 493.4 MB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5177, allocations: 187.8 kB / 493.6 MB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/0.519, allocations: 0.5098 MB / 494.1 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.5191, allocations: 43.98 kB / 494.1 MB, free: 14.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001265/0.5204, allocations: 1.208 MB / 495.3 MB, free: 12.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5204, allocations: 4 kB / 495.3 MB, free: 12.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002851/0.5233, allocations: 1.093 MB / 496.4 MB, free: 11.86 MB / 458.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.0004112/0.5237, allocations: 164 kB / 496.6 MB, free: 11.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006423/0.5301, allocations: 3.194 MB / 499.8 MB, free: 8.473 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.806e-05/0.5301, allocations: 28.44 kB / 499.8 MB, free: 8.445 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004487/0.5346, allocations: 2.343 MB / 0.4904 GB, free: 6.082 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.5364, allocations: 298.8 kB / 0.4907 GB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/0.5453, allocations: 5.111 MB / 0.4957 GB, free: 0.625 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.5458, allocations: 0.508 MB / 0.4961 GB, free: 96 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001082/0.5469, allocations: 284.9 kB / 0.4964 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/0.5477, allocations: 371.3 kB / 0.4968 GB, free: 15.45 MB / 474.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5477, allocations: 4 kB / 0.4968 GB, free: 15.45 MB / 474.7 MB Notification: Performance of Templates: time 0.2708/0.8185, allocations: 63.79 MB / 0.5591 GB, free: 134.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.081673594657332]