Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.351/1.351, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001365/0.001365, allocations: 192.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4531/0.4531, allocations: 78.52 MB / 419.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001514, allocations: 75.88 kB / 0.5543 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 68.18 MB / 0.6209 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.004711/0.2739, allocations: 5.509 MB / 0.6262 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2764, allocations: 1.782 MB / 0.628 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.2768, allocations: 15.94 kB / 0.628 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.2773, allocations: 186.4 kB / 0.6282 GB, free: 2.719 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.001358/0.2787, allocations: 0.72 MB / 0.6289 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2796, allocations: 0.5017 MB / 0.6294 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.2805, allocations: 1.269 MB / 0.6306 GB, free: 232 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.2809, allocations: 282.5 kB / 0.6309 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.2815, allocations: 0.5058 MB / 0.6314 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.2823, allocations: 0.6379 MB / 0.632 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.2825, allocations: 116 kB / 0.6321 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.2829, allocations: 263.8 kB / 0.6324 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.2832, allocations: 263 kB / 0.6326 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.2837, allocations: 0.5478 MB / 0.6331 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.2852, allocations: 1.54 MB / 0.6346 GB, free: 12.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2853, allocations: 0 / 0.6346 GB, free: 12.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2853, allocations: 4 kB / 0.6346 GB, free: 12.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.2853, allocations: 0 / 0.6346 GB, free: 12.06 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005834/0.2911, allocations: 1.916 MB / 0.6365 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2912, allocations: 8.031 kB / 0.6365 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.2948, allocations: 0.542 MB / 0.6371 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.2959, allocations: 0.7171 MB / 0.6378 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.2961, allocations: 231.5 kB / 0.638 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2963, allocations: 75.98 kB / 0.6381 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.2979, allocations: 0.8462 MB / 0.6389 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2979, allocations: 3.938 kB / 0.6389 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.298, allocations: 27.98 kB / 0.6389 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2981, allocations: 20 kB / 0.6389 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2995, allocations: 0.7157 MB / 0.6396 GB, free: 6.809 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.005386/0.3049, allocations: 3.348 MB / 0.6429 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008256/0.3132, allocations: 1.95 MB / 0.6448 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.3141, allocations: 494.6 kB / 0.6453 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.3142, allocations: 8.656 kB / 0.6453 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3142, allocations: 47.14 kB / 0.6453 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.3142, allocations: 0 / 0.6453 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of matching and sorting (n=72): time 0.01187/0.3261, allocations: 3.351 MB / 0.6486 GB, free: 13.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.3262, allocations: 89.77 kB / 0.6487 GB, free: 13.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3272, allocations: 0.79 MB / 0.6495 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.164e-05/0.3273, allocations: 41.7 kB / 0.6495 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.3276, allocations: 412.3 kB / 0.6499 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.3278, allocations: 260.2 kB / 0.6501 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.3282, allocations: 194.8 kB / 0.6503 GB, free: 11.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3283, allocations: 341.9 kB / 0.6506 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3294, allocations: 0.5448 MB / 0.6512 GB, free: 10.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3306, allocations: 0.6569 MB / 0.6518 GB, free: 9.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/0.3493, allocations: 3.964 MB / 0.6557 GB, free: 5.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3493, allocations: 0 / 0.6557 GB, free: 5.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006905/0.3562, allocations: 2.368 MB / 0.658 GB, free: 3.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3563, allocations: 4 kB / 0.658 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3563, allocations: 0 / 0.658 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/0.3606, allocations: 1.002 MB / 0.659 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/0.3615, allocations: 167.7 kB / 0.6591 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009765/0.3713, allocations: 4.876 MB / 0.6639 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3725, allocations: 111.2 kB / 0.664 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.3726, allocations: 39.92 kB / 0.6641 GB, free: 13.21 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.001386/0.374, allocations: 0.6939 MB / 0.6647 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001136/0.3751, allocations: 0.6374 MB / 0.6654 GB, free: 11.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01868/0.3938, allocations: 3.929 MB / 0.6692 GB, free: 7.895 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/0.3939, allocations: 0 / 0.6692 GB, free: 7.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.007183/0.4011, allocations: 2.336 MB / 0.6715 GB, free: 5.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4011, allocations: 8 kB / 0.6715 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4011, allocations: 0 / 0.6715 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.4053, allocations: 1.002 MB / 0.6725 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.4062, allocations: 167.8 kB / 0.6726 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009765/0.416, allocations: 4.88 MB / 0.6774 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4172, allocations: 103.2 kB / 0.6775 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4173, allocations: 39.98 kB / 0.6775 GB, free: 15.19 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: 2 (breaker2.Open,breaker1.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 103 * 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 {(9,17,54.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003325/0.4176, allocations: 224.1 kB / 0.6777 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4179, allocations: 94.88 kB / 0.6778 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.4235, allocations: 1.89 MB / 0.6797 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4236, allocations: 7.984 kB / 0.6797 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4236, allocations: 3.938 kB / 0.6797 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.4239, allocations: 183.8 kB / 0.6799 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.424, allocations: 16 kB / 0.6799 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.4248, allocations: 47.94 kB / 0.6799 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.4252, allocations: 168.4 kB / 0.6801 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004768/0.43, allocations: 1.462 MB / 0.6815 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003006/0.433, allocations: 1.595 MB / 0.6831 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008271/0.4339, allocations: 401 kB / 0.6834 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007223/0.4346, allocations: 0.5342 MB / 0.684 GB, free: 8.504 MB / 494.1 MB Notification: Performance of Backend: time 3.1e-07/0.4346, allocations: 0 / 0.684 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007897/0.4425, allocations: 3.003 MB / 0.6869 GB, free: 5.387 MB / 494.1 MB Notification: Performance of SimCode: time 0.002994/0.4456, allocations: 2.345 MB / 0.6892 GB, free: 2.992 MB / 494.1 MB Notification: Performance of Templates: time 0.03721/0.4828, allocations: 23.84 MB / 0.7125 GB, free: 11.19 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)