Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001313/0.001313, allocations: 188.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4467/0.4467, allocations: 78.53 MB / 419.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 79.88 kB / 0.5543 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2726, allocations: 68.16 MB / 0.6209 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.00424/0.2769, allocations: 5.239 MB / 0.626 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2789, allocations: 1.755 MB / 0.6277 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2792, allocations: 8 kB / 0.6277 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.2795, allocations: 158.5 kB / 0.6278 GB, free: 3.082 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2806, allocations: 0.6935 MB / 0.6285 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.2813, allocations: 0.5003 MB / 0.629 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007467/0.2821, allocations: 1.203 MB / 0.6302 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2824, allocations: 242.4 kB / 0.6304 GB, free: 444 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.2827, allocations: 0.4903 MB / 0.6309 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.2834, allocations: 0.599 MB / 0.6315 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.2836, allocations: 116 kB / 0.6316 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.284, allocations: 247.9 kB / 0.6318 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.2842, allocations: 247.1 kB / 0.6321 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.2846, allocations: 0.5129 MB / 0.6326 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.286, allocations: 1.445 MB / 0.634 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.286, allocations: 0 / 0.634 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.286, allocations: 0 / 0.634 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.286, allocations: 4 kB / 0.634 GB, free: 12.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005497/0.2915, allocations: 1.876 MB / 0.6358 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2916, allocations: 19.95 kB / 0.6358 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.295, allocations: 0.5271 MB / 0.6363 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.296, allocations: 0.6904 MB / 0.637 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.2962, allocations: 150.4 kB / 0.6372 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.2963, allocations: 56 kB / 0.6372 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.2978, allocations: 0.7837 MB / 0.638 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2978, allocations: 0 / 0.638 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.2979, allocations: 23.98 kB / 0.638 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2979, allocations: 12 kB / 0.638 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.2994, allocations: 0.6961 MB / 0.6387 GB, free: 7.812 MB / 446.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.004817/0.3042, allocations: 2.89 MB / 0.6415 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.3172, allocations: 2.956 MB / 0.6444 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/0.3182, allocations: 498.2 kB / 0.6449 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.3183, allocations: 16.53 kB / 0.6449 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3183, allocations: 43.12 kB / 0.6449 GB, free: 1.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.114e-06/0.3184, allocations: 0 / 0.6449 GB, free: 1.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.0132/0.3316, allocations: 3.664 MB / 0.6485 GB, free: 13.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3316, allocations: 85.67 kB / 0.6486 GB, free: 13.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/0.3326, allocations: 0.786 MB / 0.6494 GB, free: 12.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.3326, allocations: 41.7 kB / 0.6494 GB, free: 12.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.3329, allocations: 377.1 kB / 0.6498 GB, free: 12.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3331, allocations: 253.8 kB / 0.65 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.3335, allocations: 186.5 kB / 0.6502 GB, free: 11.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3336, allocations: 353.8 kB / 0.6505 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3348, allocations: 0.5474 MB / 0.6511 GB, free: 10.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.336, allocations: 0.6578 MB / 0.6517 GB, free: 10.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/0.3546, allocations: 4.029 MB / 0.6556 GB, free: 6.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3546, allocations: 3.938 kB / 0.6556 GB, free: 6.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007362/0.362, allocations: 2.509 MB / 0.6581 GB, free: 3.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.362, allocations: 6.344 kB / 0.6581 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.362, allocations: 4 kB / 0.6581 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/0.3663, allocations: 1.043 MB / 0.6591 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.3671, allocations: 171.7 kB / 0.6593 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.3779, allocations: 5.094 MB / 0.6642 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.379, allocations: 115.4 kB / 0.6644 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.3791, allocations: 35.98 kB / 0.6644 GB, free: 12.96 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.3804, allocations: 0.7009 MB / 0.6651 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001154/0.3816, allocations: 0.6422 MB / 0.6657 GB, free: 11.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01832/0.3999, allocations: 3.986 MB / 0.6696 GB, free: 7.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3999, allocations: 4 kB / 0.6696 GB, free: 7.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007378/0.4073, allocations: 2.482 MB / 0.672 GB, free: 5.074 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4073, allocations: 8 kB / 0.672 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4073, allocations: 0 / 0.672 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00423/0.4116, allocations: 1.044 MB / 0.6731 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.4124, allocations: 175.7 kB / 0.6732 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.423, allocations: 5.078 MB / 0.6782 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.4241, allocations: 115.5 kB / 0.6783 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.4242, allocations: 31.98 kB / 0.6783 GB, free: 14.46 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.4245, allocations: 224.1 kB / 0.6785 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4247, allocations: 91.39 kB / 0.6786 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/0.4308, allocations: 2.047 MB / 0.6806 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4308, allocations: 3.984 kB / 0.6806 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4308, allocations: 3.938 kB / 0.6806 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.431, allocations: 188.3 kB / 0.6808 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4312, allocations: 16 kB / 0.6808 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.4319, allocations: 55.94 kB / 0.6809 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/0.4324, allocations: 184.3 kB / 0.6811 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004876/0.4372, allocations: 1.508 MB / 0.6825 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003022/0.4403, allocations: 1.6 MB / 0.6841 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008521/0.4411, allocations: 412.2 kB / 0.6845 GB, free: 8.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006604/0.4418, allocations: 0.5342 MB / 0.685 GB, free: 7.551 MB / 494.1 MB Notification: Performance of Backend: time 4.6e-07/0.4418, allocations: 0 / 0.685 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007685/0.4495, allocations: 2.99 MB / 0.6879 GB, free: 4.441 MB / 494.1 MB Notification: Performance of SimCode: time 0.002508/0.452, allocations: 2.215 MB / 0.6901 GB, free: 2.172 MB / 494.1 MB Notification: Performance of Templates: time 0.03492/0.487, allocations: 24 MB / 0.7135 GB, free: 10.21 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)