Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 175.2 kB / 16.08 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.8 MB / 239.7 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 97.66 kB / 290.5 MB, free: 11.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4092/0.4092, allocations: 78.41 MB / 419.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 8 kB / 499.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 68.74 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.004514/0.2436, allocations: 5.775 MB / 0.5602 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2462, allocations: 1.825 MB / 0.5619 GB, free: 12.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.2466, allocations: 8 kB / 0.562 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.2471, allocations: 147 kB / 0.5621 GB, free: 12.45 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001318/0.2484, allocations: 0.6138 MB / 0.5627 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.2492, allocations: 474 kB / 0.5631 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.25, allocations: 1.187 MB / 0.5643 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.2503, allocations: 239.3 kB / 0.5645 GB, free: 9.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.2508, allocations: 437.9 kB / 0.565 GB, free: 9.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.2512, allocations: 0.5638 MB / 0.5655 GB, free: 8.938 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.2513, allocations: 55.94 kB / 0.5656 GB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.2517, allocations: 199.8 kB / 0.5657 GB, free: 8.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2518, allocations: 191 kB / 0.5659 GB, free: 8.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.2521, allocations: 489 kB / 0.5664 GB, free: 8.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.2531, allocations: 1.442 MB / 0.5678 GB, free: 6.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2531, allocations: 0 / 0.5678 GB, free: 6.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2531, allocations: 4 kB / 0.5678 GB, free: 6.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.2531, allocations: 0 / 0.5678 GB, free: 6.57 MB / 378.7 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.004755/0.2579, allocations: 1.714 MB / 0.5695 GB, free: 4.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2579, allocations: 12.02 kB / 0.5695 GB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.261, allocations: 0.5303 MB / 0.57 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.2619, allocations: 0.717 MB / 0.5707 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.262, allocations: 243.4 kB / 0.5709 GB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.2621, allocations: 64 kB / 0.571 GB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.2634, allocations: 0.8539 MB / 0.5718 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2634, allocations: 0 / 0.5718 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.2635, allocations: 28 kB / 0.5719 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2635, allocations: 16 kB / 0.5719 GB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.2647, allocations: 0.7157 MB / 0.5726 GB, free: 1.543 MB / 378.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.00478/0.2695, allocations: 3.383 MB / 0.5759 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/0.2769, allocations: 1.958 MB / 0.5778 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.2778, allocations: 482.6 kB / 0.5783 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.2779, allocations: 12.59 kB / 0.5783 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.2779, allocations: 43.22 kB / 0.5783 GB, free: 11.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 2.644e-06/0.2779, allocations: 0 / 0.5783 GB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=72): time 0.01113/0.2891, allocations: 3.355 MB / 0.5816 GB, free: 8.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.2891, allocations: 85.77 kB / 0.5817 GB, free: 7.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/0.2901, allocations: 0.7939 MB / 0.5824 GB, free: 7.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.2902, allocations: 41.7 kB / 0.5825 GB, free: 7.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.2905, allocations: 400.3 kB / 0.5829 GB, free: 6.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.2907, allocations: 272.2 kB / 0.5831 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.2909, allocations: 97.66 kB / 0.5832 GB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.291, allocations: 341.9 kB / 0.5835 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.292, allocations: 0.5336 MB / 0.5841 GB, free: 5.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.2931, allocations: 0.653 MB / 0.5847 GB, free: 4.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.3108, allocations: 3.969 MB / 0.5886 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3109, allocations: 4 kB / 0.5886 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006356/0.3172, allocations: 2.364 MB / 0.5909 GB, free: 14.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.3173, allocations: 136.8 kB / 0.591 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3173, allocations: 4 kB / 0.591 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003865/0.3212, allocations: 0.9946 MB / 0.592 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.3221, allocations: 175.7 kB / 0.5922 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.3304, allocations: 4.539 MB / 0.5966 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3315, allocations: 111.1 kB / 0.5967 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.3316, allocations: 35.98 kB / 0.5967 GB, free: 8.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.3316, allocations: 4 kB / 0.5967 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006078/0.3377, allocations: 2.23 MB / 0.5989 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3377, allocations: 7.984 kB / 0.5989 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.3416, allocations: 0.9975 MB / 0.5999 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.3424, allocations: 171.7 kB / 0.6001 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/0.3508, allocations: 4.528 MB / 0.6045 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.3518, allocations: 111.3 kB / 0.6046 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/0.3519, allocations: 35.98 kB / 0.6046 GB, free: 15.95 MB / 426.7 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.0005003/0.3524, allocations: 305.2 kB / 0.6049 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3526, allocations: 94.66 kB / 0.605 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/0.3577, allocations: 1.897 MB / 0.6069 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3577, allocations: 3.984 kB / 0.6069 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3577, allocations: 0 / 0.6069 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3579, allocations: 183.8 kB / 0.607 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.3581, allocations: 16.38 kB / 0.6071 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.3588, allocations: 43.95 kB / 0.6071 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.3591, allocations: 168.3 kB / 0.6073 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004181/0.3633, allocations: 1.461 MB / 0.6087 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002657/0.366, allocations: 1.598 MB / 0.6102 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007578/0.3668, allocations: 401.1 kB / 0.6106 GB, free: 9.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006515/0.3674, allocations: 0.5381 MB / 0.6112 GB, free: 9.184 MB / 426.7 MB Notification: Performance of Backend: time 5.1e-07/0.3675, allocations: 0 / 0.6112 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007044/0.3745, allocations: 3.004 MB / 0.6141 GB, free: 6.062 MB / 426.7 MB Notification: Performance of SimCode: time 0.002841/0.3774, allocations: 2.681 MB / 0.6167 GB, free: 3.332 MB / 426.7 MB Notification: Performance of Templates: time 0.03113/0.4085, allocations: 21.74 MB / 0.6379 GB, free: 13.64 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)