Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 229.6 MB, free: 7.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008943/0.0008944, allocations: 97 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4362/0.4362, allocations: 78.12 MB / 409.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.455e-05, allocations: 7.938 kB / 485 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 69.36 MB / 0.5413 GB, free: 6.977 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4347, allocations: 98.68 MB / 0.6377 GB, free: 1.121 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4349, allocations: 82.3 kB / 0.6378 GB, free: 1.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06141/0.4963, allocations: 22.69 MB / 0.6599 GB, free: 10.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4964, allocations: 9.312 kB / 0.6599 GB, free: 10.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.383e-05/0.4964, allocations: 16 kB / 0.66 GB, free: 10.38 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003597/0.5, allocations: 1.318 MB / 0.6612 GB, free: 9.008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5001, allocations: 8.031 kB / 0.6613 GB, free: 9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.5025, allocations: 394.4 kB / 0.6616 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5037, allocations: 0.637 MB / 0.6623 GB, free: 7.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.5039, allocations: 185.8 kB / 0.6624 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.504, allocations: 39.98 kB / 0.6625 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/0.5051, allocations: 0.5809 MB / 0.663 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.5063, allocations: 0.6575 MB / 0.6637 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5063, allocations: 0 / 0.6637 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.5064, allocations: 4 kB / 0.6637 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.5064, allocations: 16 kB / 0.6637 GB, free: 6.414 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005257/0.5117, allocations: 3.052 MB / 0.6667 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.5248, allocations: 3.704 MB / 0.6703 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.5256, allocations: 394.5 kB / 0.6707 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.5258, allocations: 4.562 kB / 0.6707 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5258, allocations: 47.06 kB / 0.6707 GB, free: 15.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.826e-06/0.5258, allocations: 0 / 0.6707 GB, free: 15.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.0058/0.5316, allocations: 1.949 MB / 0.6726 GB, free: 13.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5317, allocations: 85.67 kB / 0.6727 GB, free: 12.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.5327, allocations: 0.6254 MB / 0.6733 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.5328, allocations: 30.55 kB / 0.6733 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.5331, allocations: 404.3 kB / 0.6737 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.5333, allocations: 240.3 kB / 0.674 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.5334, allocations: 0 / 0.674 GB, free: 11.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5335, allocations: 334 kB / 0.6743 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.534, allocations: 337.5 kB / 0.6746 GB, free: 10.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.5346, allocations: 434.7 kB / 0.675 GB, free: 10.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.5352, allocations: 373.2 kB / 0.6754 GB, free: 10.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5352, allocations: 0.9375 kB / 0.6754 GB, free: 10.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006312/0.5416, allocations: 2.176 MB / 0.6775 GB, free: 7.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.5418, allocations: 0.7022 MB / 0.6782 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5418, allocations: 0 / 0.6782 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/0.5459, allocations: 1.046 MB / 0.6792 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.5465, allocations: 111.8 kB / 0.6793 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/0.5551, allocations: 4.573 MB / 0.6838 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5561, allocations: 111.3 kB / 0.6839 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.5563, allocations: 26.42 kB / 0.6839 GB, free: 1.234 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.5563, allocations: 7.953 kB / 0.6839 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006135/0.5624, allocations: 2.058 MB / 0.6859 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5624, allocations: 0 / 0.6859 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.5664, allocations: 1.041 MB / 0.6869 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.5669, allocations: 103.8 kB / 0.687 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.575, allocations: 4.569 MB / 0.6915 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.576, allocations: 95.47 kB / 0.6916 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.5761, allocations: 31.98 kB / 0.6916 GB, free: 9.18 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.5764, allocations: 120.7 kB / 0.6917 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5766, allocations: 90.83 kB / 0.6918 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005584/0.5822, allocations: 2.028 MB / 0.6938 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5822, allocations: 8 kB / 0.6938 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5822, allocations: 6.875 kB / 0.6938 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5822, allocations: 7.938 kB / 0.6938 GB, free: 6.906 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.006997/0.5892, allocations: 3.293 MB / 0.697 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5892, allocations: 0 / 0.697 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.5898, allocations: 86.33 kB / 0.6971 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.5927, allocations: 0.8754 MB / 0.698 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.5927, allocations: 11.98 kB / 0.698 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/0.599, allocations: 3.557 MB / 0.7015 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.599, allocations: 0 / 0.7015 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/0.6051, allocations: 2.608 MB / 0.704 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.6055, allocations: 187.8 kB / 0.7042 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.6057, allocations: 8 kB / 0.7042 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.6066, allocations: 74.56 kB / 0.7043 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.6069, allocations: 128.3 kB / 0.7044 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.607, allocations: 20.09 kB / 0.7044 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006454/0.6076, allocations: 491.2 kB / 0.7049 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6076, allocations: 3.938 kB / 0.7049 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001422/0.609, allocations: 475.1 kB / 0.7053 GB, free: 10.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.6093, allocations: 148 kB / 0.7055 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006516/0.6159, allocations: 2.853 MB / 0.7083 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6159, allocations: 0 / 0.7083 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.6185, allocations: 1.17 MB / 0.7094 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.619, allocations: 51.3 kB / 0.7095 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.6221, allocations: 1.516 MB / 0.7109 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.6227, allocations: 1.016 MB / 0.7119 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005772/0.6233, allocations: 115.2 kB / 0.712 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.6234, allocations: 49.14 kB / 0.7121 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.6234, allocations: 0 / 0.7121 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of Templates: time 0.02831/0.6517, allocations: 19.17 MB / 0.7308 GB, free: 0.7422 MB / 0.5261 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)