Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.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 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.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00401/0.004011, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.12/1.12, allocations: 223.2 MB / 239 MB, free: 1.77 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.0008338/0.0008339, allocations: 101.3 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3784/0.3784, allocations: 78.51 MB / 419.8 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 15.98 kB / 499.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 69.35 MB / 0.5557 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09775/0.3686, allocations: 98.94 MB / 0.6524 GB, free: 7.445 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.3688, allocations: 83.95 kB / 0.6524 GB, free: 7.363 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05335/0.4222, allocations: 22.17 MB / 0.6741 GB, free: 1.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4222, allocations: 0 / 0.6741 GB, free: 1.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.302e-05/0.4222, allocations: 20 kB / 0.6741 GB, free: 1.035 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003106/0.4254, allocations: 1.472 MB / 0.6755 GB, free: 15.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4254, allocations: 12.03 kB / 0.6755 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.4275, allocations: 386.5 kB / 0.6759 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.4283, allocations: 0.6174 MB / 0.6765 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.4285, allocations: 158.3 kB / 0.6767 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.4286, allocations: 56.34 kB / 0.6767 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4299, allocations: 0.8188 MB / 0.6775 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4299, allocations: 0 / 0.6775 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.43, allocations: 20 kB / 0.6775 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.43, allocations: 16 kB / 0.6776 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.4313, allocations: 0.7274 MB / 0.6783 GB, free: 12.64 MB / 490.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.004267/0.4356, allocations: 2.884 MB / 0.6811 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.4482, allocations: 3.949 MB / 0.6849 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.426e-05/0.4483, allocations: 12.55 kB / 0.685 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.4483, allocations: 39.12 kB / 0.685 GB, free: 5.574 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.653e-06/0.4483, allocations: 0 / 0.685 GB, free: 5.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01095/0.4593, allocations: 3.947 MB / 0.6888 GB, free: 1.555 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4593, allocations: 85.67 kB / 0.6889 GB, free: 1.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.4601, allocations: 0.676 MB / 0.6896 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.4601, allocations: 37.7 kB / 0.6896 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.4604, allocations: 392.6 kB / 0.69 GB, free: 344 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.4605, allocations: 228.6 kB / 0.6902 GB, free: 112 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.4606, allocations: 16 kB / 0.6902 GB, free: 96 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.4607, allocations: 330 kB / 0.6905 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/0.4615, allocations: 473.8 kB / 0.691 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/0.4624, allocations: 0.552 MB / 0.6915 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.4633, allocations: 0.5004 MB / 0.692 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4633, allocations: 0 / 0.692 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006661/0.47, allocations: 2.556 MB / 0.6945 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.4701, allocations: 0.6192 MB / 0.6951 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4702, allocations: 4 kB / 0.6951 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/0.4744, allocations: 1.245 MB / 0.6963 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.4749, allocations: 107.8 kB / 0.6964 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4852, allocations: 5.588 MB / 0.7019 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.4861, allocations: 115.4 kB / 0.702 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.4861, allocations: 27.98 kB / 0.702 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.4862, allocations: 4.625 kB / 0.702 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006584/0.4927, allocations: 2.414 MB / 0.7044 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4928, allocations: 4 kB / 0.7044 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/0.497, allocations: 1.239 MB / 0.7056 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.4974, allocations: 99.89 kB / 0.7057 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.5076, allocations: 5.573 MB / 0.7112 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.5084, allocations: 115.3 kB / 0.7113 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.5084, allocations: 31.88 kB / 0.7113 GB, free: 10.13 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003404/0.5088, allocations: 296 kB / 0.7116 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5089, allocations: 82.97 kB / 0.7117 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/0.5149, allocations: 2.403 MB / 0.714 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5149, allocations: 4 kB / 0.714 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5149, allocations: 8 kB / 0.714 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5149, allocations: 3.984 kB / 0.714 GB, free: 7.305 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.007338/0.5223, allocations: 3.69 MB / 0.7176 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5223, allocations: 4.062 kB / 0.7176 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.5228, allocations: 83.84 kB / 0.7177 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.5259, allocations: 1.079 MB / 0.7188 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.526, allocations: 19.98 kB / 0.7188 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007291/0.5333, allocations: 4.276 MB / 0.723 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5333, allocations: 4.031 kB / 0.723 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006695/0.54, allocations: 3.098 MB / 0.726 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5401, allocations: 183.9 kB / 0.7262 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5403, allocations: 12 kB / 0.7262 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.541, allocations: 83.92 kB / 0.7262 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.5413, allocations: 120.3 kB / 0.7264 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.5413, allocations: 16 kB / 0.7264 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005526/0.5419, allocations: 0.5303 MB / 0.7269 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5419, allocations: 0 / 0.7269 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001066/0.543, allocations: 499.2 kB / 0.7274 GB, free: 9.328 MB / 0.5261 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002234/0.5432, allocations: 151.2 kB / 0.7275 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006739/0.55, allocations: 3.161 MB / 0.7306 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.55, allocations: 3.938 kB / 0.7306 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.5526, allocations: 1.263 MB / 0.7318 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.553, allocations: 63.3 kB / 0.7319 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5561, allocations: 2.128 MB / 0.734 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.5565, allocations: 0.9945 MB / 0.735 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.5568, allocations: 68.69 kB / 0.735 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.557, allocations: 43.38 kB / 0.7351 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.557, allocations: 0 / 0.7351 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.02404/0.5811, allocations: 18.65 MB / 0.7533 GB, free: 14.62 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)