Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001622, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.374/1.374, allocations: 222.9 MB / 240.1 MB, free: 4.582 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.001353/0.001354, allocations: 184.5 kB / 290.4 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4558/0.4558, allocations: 78.53 MB / 419.1 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 80.16 kB / 0.5543 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2933, allocations: 68.17 MB / 0.6208 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.00481/0.2981, allocations: 5.924 MB / 0.6266 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.3013, allocations: 2.125 MB / 0.6287 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.3019, allocations: 15.94 kB / 0.6287 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.3026, allocations: 234.2 kB / 0.6289 GB, free: 1.965 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.001576/0.3042, allocations: 0.8097 MB / 0.6297 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3053, allocations: 0.7086 MB / 0.6304 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.3069, allocations: 1.835 MB / 0.6322 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.3073, allocations: 301.1 kB / 0.6325 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008296/0.3082, allocations: 0.7045 MB / 0.6332 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009172/0.3091, allocations: 0.7859 MB / 0.634 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.3093, allocations: 160 kB / 0.6341 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.3098, allocations: 299.8 kB / 0.6344 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.3102, allocations: 370.7 kB / 0.6348 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.3107, allocations: 0.6645 MB / 0.6354 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.3125, allocations: 1.972 MB / 0.6373 GB, free: 9.348 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3125, allocations: 0 / 0.6373 GB, free: 9.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.3125, allocations: 4 kB / 0.6373 GB, free: 9.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3125, allocations: 3.938 kB / 0.6373 GB, free: 9.34 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007285/0.3198, allocations: 2.267 MB / 0.6396 GB, free: 7.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3199, allocations: 8.031 kB / 0.6396 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.3235, allocations: 0.5574 MB / 0.6401 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.3255, allocations: 0.9988 MB / 0.6411 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.3258, allocations: 239.5 kB / 0.6413 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.326, allocations: 75.91 kB / 0.6414 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.328, allocations: 0.9641 MB / 0.6423 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3281, allocations: 0 / 0.6423 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.3282, allocations: 28 kB / 0.6423 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3282, allocations: 16 kB / 0.6424 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.3302, allocations: 0.9187 MB / 0.6433 GB, free: 3.102 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.006307/0.3365, allocations: 3.623 MB / 0.6468 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.351, allocations: 3.286 MB / 0.65 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3523, allocations: 0.5767 MB / 0.6506 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.3524, allocations: 12.66 kB / 0.6506 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3525, allocations: 43.16 kB / 0.6506 GB, free: 11.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.3525, allocations: 3.938 kB / 0.6506 GB, free: 11.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01429/0.3668, allocations: 3.951 MB / 0.6545 GB, free: 7.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3669, allocations: 115.4 kB / 0.6546 GB, free: 7.203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.3691, allocations: 1.165 MB / 0.6557 GB, free: 6.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.3692, allocations: 41.7 kB / 0.6558 GB, free: 5.973 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.3696, allocations: 464.5 kB / 0.6562 GB, free: 5.512 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.37, allocations: 283.9 kB / 0.6565 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.3705, allocations: 206.8 kB / 0.6567 GB, free: 5.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3707, allocations: 353.9 kB / 0.657 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.3721, allocations: 0.6502 MB / 0.6577 GB, free: 4.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.3737, allocations: 0.7869 MB / 0.6584 GB, free: 3.203 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/0.3944, allocations: 4.516 MB / 0.6628 GB, free: 14.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3945, allocations: 0 / 0.6628 GB, free: 14.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008779/0.4033, allocations: 2.773 MB / 0.6655 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4033, allocations: 8 kB / 0.6656 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4033, allocations: 3.938 kB / 0.6656 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/0.408, allocations: 1.038 MB / 0.6666 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.4094, allocations: 223.7 kB / 0.6668 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.421, allocations: 5.072 MB / 0.6717 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.4229, allocations: 171 kB / 0.6719 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.4231, allocations: 43.92 kB / 0.6719 GB, free: 5.168 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00194/0.4251, allocations: 0.8473 MB / 0.6728 GB, free: 4.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/0.4266, allocations: 0.7517 MB / 0.6735 GB, free: 3.543 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02094/0.4476, allocations: 4.45 MB / 0.6778 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.4476, allocations: 0 / 0.6778 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008609/0.4562, allocations: 2.719 MB / 0.6805 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4562, allocations: 7.938 kB / 0.6805 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4563, allocations: 4 kB / 0.6805 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/0.4607, allocations: 1.036 MB / 0.6815 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.462, allocations: 215.6 kB / 0.6817 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.4732, allocations: 5.077 MB / 0.6867 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.4749, allocations: 155.1 kB / 0.6868 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.4751, allocations: 39.98 kB / 0.6869 GB, free: 5.641 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (119): * Single equations (assignments): 116 * 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.0003792/0.4755, allocations: 231.5 kB / 0.6871 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4758, allocations: 106.7 kB / 0.6872 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007284/0.4831, allocations: 2.283 MB / 0.6894 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.4831, allocations: 7.984 kB / 0.6894 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4831, allocations: 0 / 0.6894 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.4836, allocations: 227.5 kB / 0.6897 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.4839, allocations: 19.98 kB / 0.6897 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.4853, allocations: 107.8 kB / 0.6898 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004818/0.4858, allocations: 196.3 kB / 0.69 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006039/0.4918, allocations: 1.764 MB / 0.6917 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004246/0.4961, allocations: 2.004 MB / 0.6936 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001189/0.4973, allocations: 0.5166 MB / 0.6941 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001676/0.499, allocations: 0.8192 MB / 0.6949 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.499, allocations: 0 / 0.6949 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00902/0.508, allocations: 3.234 MB / 0.6981 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003439/0.5115, allocations: 2.636 MB / 0.7007 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.04389/0.5554, allocations: 28.4 MB / 0.7284 GB, free: 10.9 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)