Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09147/0.09147, allocations: 12.6 MB / 28.91 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 115.5 kB / 32.51 MB, free: 3.418 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.328/1.328, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001333/0.001333, allocations: 184.5 kB / 291.4 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4449/0.4449, allocations: 78.51 MB / 420 MB, free: 10.78 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.002491/0.002491, allocations: 143.8 kB / 0.5565 GB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1181, allocations: 68.12 MB / 0.623 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01283/0.1309, allocations: 14.09 MB / 0.6368 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.1407, allocations: 4.062 MB / 0.6408 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.1436, allocations: 24 kB / 0.6408 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1458, allocations: 0.6742 MB / 0.6415 GB, free: 10.25 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo2.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo3.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation trafo4.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.005641/0.1515, allocations: 1.729 MB / 0.6431 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.1546, allocations: 1.271 MB / 0.6444 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005787/0.1604, allocations: 4.078 MB / 0.6484 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.162, allocations: 0.7673 MB / 0.6491 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.1648, allocations: 1.634 MB / 0.6507 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.168, allocations: 2.124 MB / 0.6528 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.1694, allocations: 372 kB / 0.6531 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.1713, allocations: 0.5155 MB / 0.6536 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.1726, allocations: 0.8326 MB / 0.6545 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.1756, allocations: 1.768 MB / 0.6562 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.182, allocations: 4.57 MB / 0.6606 GB, free: 6.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1821, allocations: 0 / 0.6606 GB, free: 6.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1821, allocations: 0 / 0.6606 GB, free: 6.508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.1822, allocations: 0 / 0.6606 GB, free: 6.508 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.0224/0.2046, allocations: 5.767 MB / 0.6663 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.2047, allocations: 15.98 kB / 0.6663 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/0.2192, allocations: 2.048 MB / 0.6683 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/0.2239, allocations: 2.014 MB / 0.6703 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005083/0.2244, allocations: 443.1 kB / 0.6707 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007824/0.2252, allocations: 199.9 kB / 0.6709 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/0.2316, allocations: 2.303 MB / 0.6731 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.2316, allocations: 4 kB / 0.6731 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.232, allocations: 68 kB / 0.6732 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.232, allocations: 47.94 kB / 0.6732 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/0.2372, allocations: 2.321 MB / 0.6755 GB, free: 7.07 MB / 494.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.3315/0.5688, allocations: 9.65 MB / 0.6849 GB, free: 48.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.5803, allocations: 4.178 MB / 0.689 GB, free: 46.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004477/0.5848, allocations: 1.612 MB / 0.6906 GB, free: 45.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.5851, allocations: 36.92 kB / 0.6906 GB, free: 45.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5852, allocations: 59.56 kB / 0.6907 GB, free: 45.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=223): time 5.119e-06/0.5852, allocations: 0 / 0.6907 GB, free: 45.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.09117/0.6764, allocations: 20.09 MB / 0.7103 GB, free: 38.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.6765, allocations: 77 kB / 0.7104 GB, free: 38.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/0.6808, allocations: 2.679 MB / 0.713 GB, free: 37.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007328/0.6816, allocations: 77.17 kB / 0.7131 GB, free: 37.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007979/0.6824, allocations: 1.162 MB / 0.7142 GB, free: 36.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009785/0.6834, allocations: 0.8121 MB / 0.715 GB, free: 35.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.6844, allocations: 0.5889 MB / 0.7156 GB, free: 35.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.6845, allocations: 305.1 kB / 0.7159 GB, free: 34.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/0.6877, allocations: 1.792 MB / 0.7176 GB, free: 33.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/0.6913, allocations: 2.154 MB / 0.7197 GB, free: 32.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05665/0.748, allocations: 13.08 MB / 0.7325 GB, free: 21.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/0.748, allocations: 4 kB / 0.7325 GB, free: 21.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02048/0.7685, allocations: 7.439 MB / 0.7397 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.7686, allocations: 8 kB / 0.7398 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.7686, allocations: 4 kB / 0.7398 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/0.7813, allocations: 3.233 MB / 0.7429 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008439/0.7897, allocations: 1.424 MB / 0.7443 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/0.817, allocations: 16.88 MB / 0.7608 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/0.8221, allocations: 380.1 kB / 0.7611 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005017/0.8226, allocations: 120 kB / 0.7613 GB, free: 6.812 MB / 0.4981 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001403/0.824, allocations: 0.5163 MB / 0.7618 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.8247, allocations: 304.2 kB / 0.7621 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/0.8509, allocations: 8.107 MB / 0.77 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-05/0.851, allocations: 11.95 kB / 0.77 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.851, allocations: 4 kB / 0.77 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.8525, allocations: 456.6 kB / 0.7704 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/0.8537, allocations: 47.94 kB / 0.7705 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/0.8571, allocations: 159.8 kB / 0.7706 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002553/0.8597, allocations: 0.8561 MB / 0.7715 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01763/0.8774, allocations: 4.822 MB / 0.7762 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01116/0.8886, allocations: 4.8 MB / 0.7809 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003003/0.8916, allocations: 1.277 MB / 0.7821 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00394/0.8956, allocations: 1.779 MB / 0.7838 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of Backend: time 9.52e-07/0.8956, allocations: 3.938 kB / 0.7838 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0159/0.9115, allocations: 5.177 MB / 0.7889 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01077/0.9223, allocations: 6.58 MB / 0.7953 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of Templates: time 0.08664/1.009, allocations: 52.5 MB / 0.8466 GB, free: 15.11 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)