Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001164/0.001164, allocations: 110.7 kB / 16.42 MB, free: 6.504 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.358/1.358, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001425/0.001425, allocations: 188.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5246/0.5246, allocations: 91.91 MB / 432.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 80.38 kB / 0.5734 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 71.28 MB / 0.643 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.005887/0.1123, allocations: 5.533 MB / 0.6484 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1154, allocations: 1.793 MB / 0.6502 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.1158, allocations: 8 kB / 0.6502 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.1163, allocations: 190.3 kB / 0.6503 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1177, allocations: 0.711 MB / 0.651 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.1187, allocations: 0.5039 MB / 0.6515 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1198, allocations: 1.265 MB / 0.6528 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.1202, allocations: 266.5 kB / 0.653 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.1208, allocations: 0.5097 MB / 0.6535 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.1215, allocations: 0.6418 MB / 0.6541 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1216, allocations: 119.9 kB / 0.6543 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.1221, allocations: 259.8 kB / 0.6545 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1223, allocations: 267 kB / 0.6548 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.1227, allocations: 0.544 MB / 0.6553 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1242, allocations: 1.556 MB / 0.6568 GB, free: 5.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1242, allocations: 0 / 0.6568 GB, free: 5.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1242, allocations: 0 / 0.6568 GB, free: 5.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1243, allocations: 0 / 0.6568 GB, free: 5.402 MB / 462.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.005561/0.1298, allocations: 1.954 MB / 0.6587 GB, free: 3.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1299, allocations: 8.031 kB / 0.6587 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.1332, allocations: 0.5466 MB / 0.6593 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1344, allocations: 0.7256 MB / 0.66 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.1346, allocations: 235.5 kB / 0.6602 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1347, allocations: 64 kB / 0.6603 GB, free: 1.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1362, allocations: 0.8617 MB / 0.6611 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1363, allocations: 0 / 0.6611 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.1363, allocations: 24 kB / 0.6611 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1364, allocations: 19.98 kB / 0.6611 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1377, allocations: 0.7157 MB / 0.6618 GB, free: 112 kB / 462.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.005523/0.1433, allocations: 3.353 MB / 0.6651 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007457/0.1508, allocations: 1.946 MB / 0.667 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008944/0.1517, allocations: 491.7 kB / 0.6675 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.1518, allocations: 12.64 kB / 0.6675 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1518, allocations: 35.22 kB / 0.6675 GB, free: 10.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.1518, allocations: 0 / 0.6675 GB, free: 10.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.01115/0.163, allocations: 3.37 MB / 0.6708 GB, free: 6.609 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.163, allocations: 85.77 kB / 0.6709 GB, free: 6.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1641, allocations: 0.7977 MB / 0.6717 GB, free: 5.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.413e-05/0.1642, allocations: 41.7 kB / 0.6717 GB, free: 5.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.1645, allocations: 409 kB / 0.6721 GB, free: 5.242 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.1647, allocations: 273.7 kB / 0.6724 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.1651, allocations: 206.8 kB / 0.6726 GB, free: 4.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1652, allocations: 341.9 kB / 0.6729 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.1663, allocations: 0.5409 MB / 0.6734 GB, free: 3.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.1674, allocations: 0.6491 MB / 0.6741 GB, free: 3.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.1857, allocations: 3.961 MB / 0.6779 GB, free: 15.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1858, allocations: 0 / 0.6779 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00672/0.1925, allocations: 2.368 MB / 0.6802 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1925, allocations: 4 kB / 0.6802 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1925, allocations: 4 kB / 0.6802 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004122/0.1967, allocations: 1.005 MB / 0.6812 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.1976, allocations: 175.7 kB / 0.6814 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009445/0.2071, allocations: 4.888 MB / 0.6862 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.2082, allocations: 115.3 kB / 0.6863 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.2083, allocations: 39.98 kB / 0.6863 GB, free: 6.449 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/0.2097, allocations: 0.6861 MB / 0.687 GB, free: 5.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.2108, allocations: 0.6453 MB / 0.6876 GB, free: 5.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01838/0.2292, allocations: 3.929 MB / 0.6915 GB, free: 1.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.2292, allocations: 3.984 kB / 0.6915 GB, free: 1.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.006669/0.2359, allocations: 2.341 MB / 0.6937 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2359, allocations: 8 kB / 0.6937 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2359, allocations: 4 kB / 0.6938 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/0.24, allocations: 1.001 MB / 0.6947 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.2409, allocations: 163.7 kB / 0.6949 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/0.2505, allocations: 4.874 MB / 0.6996 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.2517, allocations: 115.3 kB / 0.6998 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.2518, allocations: 32 kB / 0.6998 GB, free: 8.426 MB / 0.4981 GB 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.0003396/0.2522, allocations: 242.5 kB / 0.7 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.2524, allocations: 95.39 kB / 0.7001 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/0.2579, allocations: 1.89 MB / 0.702 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2579, allocations: 3.984 kB / 0.702 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2579, allocations: 3.938 kB / 0.702 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.2582, allocations: 188.3 kB / 0.7021 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.2583, allocations: 16 kB / 0.7022 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.2592, allocations: 55.94 kB / 0.7022 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/0.2596, allocations: 168.4 kB / 0.7024 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00464/0.2642, allocations: 1.452 MB / 0.7038 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002998/0.2672, allocations: 1.603 MB / 0.7054 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008035/0.268, allocations: 401.1 kB / 0.7057 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000711/0.2688, allocations: 0.5381 MB / 0.7063 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of Backend: time 5.71e-07/0.2688, allocations: 0 / 0.7063 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00785/0.2766, allocations: 3.013 MB / 0.7092 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002991/0.2796, allocations: 2.389 MB / 0.7115 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.03692/0.3166, allocations: 23.85 MB / 0.7348 GB, free: 4.336 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)