Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_2.0.0_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_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 89.95 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07101/0.07101, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2801/0.2801, allocations: 78.02 MB / 456.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.667e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 69.33 MB / 0.5895 GB, free: 2.508 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4748, allocations: 102.6 MB / 0.6897 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.475, allocations: 79.39 kB / 0.6897 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07933/0.5543, allocations: 29.2 MB / 0.7183 GB, free: 4.293 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5544, allocations: 4 kB / 0.7183 GB, free: 4.289 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.801e-05/0.5544, allocations: 20 kB / 0.7183 GB, free: 4.27 MB / 458.7 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.003394/0.5578, allocations: 1.472 MB / 0.7197 GB, free: 2.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5579, allocations: 11.98 kB / 0.7197 GB, free: 2.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.5601, allocations: 415 kB / 0.7201 GB, free: 2.449 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5614, allocations: 0.8834 MB / 0.721 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.5618, allocations: 249.1 kB / 0.7212 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5619, allocations: 69.84 kB / 0.7213 GB, free: 1.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5633, allocations: 0.8419 MB / 0.7221 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5633, allocations: 0 / 0.7221 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.5634, allocations: 27.25 kB / 0.7221 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5634, allocations: 16 kB / 0.7222 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5647, allocations: 0.7793 MB / 0.7229 GB, free: 448 kB / 458.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.005941/0.5707, allocations: 3.624 MB / 0.7265 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.5846, allocations: 4.009 MB / 0.7304 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.5855, allocations: 485.2 kB / 0.7308 GB, free: 9.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/0.5856, allocations: 8.781 kB / 0.7308 GB, free: 9.922 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.5856, allocations: 42.84 kB / 0.7309 GB, free: 9.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/0.5856, allocations: 0 / 0.7309 GB, free: 9.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005946/0.5915, allocations: 2.148 MB / 0.733 GB, free: 8.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.5917, allocations: 111.6 kB / 0.7331 GB, free: 8.027 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5932, allocations: 0.9356 MB / 0.734 GB, free: 7.352 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.5933, allocations: 36.64 kB / 0.734 GB, free: 7.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.5936, allocations: 483.9 kB / 0.7345 GB, free: 7.062 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.5939, allocations: 277.6 kB / 0.7348 GB, free: 6.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.594, allocations: 21.69 kB / 0.7348 GB, free: 6.816 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5941, allocations: 340.3 kB / 0.7351 GB, free: 6.492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.5948, allocations: 430 kB / 0.7355 GB, free: 6.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.5955, allocations: 0.5338 MB / 0.736 GB, free: 5.922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.5963, allocations: 472.9 kB / 0.7365 GB, free: 5.664 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5963, allocations: 4 kB / 0.7365 GB, free: 5.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006591/0.6029, allocations: 2.406 MB / 0.7388 GB, free: 3.746 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.6031, allocations: 0.6133 MB / 0.7394 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6031, allocations: 0 / 0.7394 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/0.6072, allocations: 1.017 MB / 0.7404 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.6081, allocations: 159 kB / 0.7406 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008347/0.6165, allocations: 4.449 MB / 0.7449 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.618, allocations: 179.1 kB / 0.7451 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6181, allocations: 27.98 kB / 0.7451 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.6182, allocations: 4 kB / 0.7451 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006623/0.6248, allocations: 2.269 MB / 0.7473 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6248, allocations: 0 / 0.7473 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/0.6288, allocations: 1.005 MB / 0.7483 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.6296, allocations: 143.8 kB / 0.7485 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0085/0.6381, allocations: 4.463 MB / 0.7528 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6396, allocations: 163.2 kB / 0.753 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.6397, allocations: 28 kB / 0.753 GB, free: 6.117 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * 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.0002758/0.64, allocations: 148.8 kB / 0.7532 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.6402, allocations: 114.5 kB / 0.7533 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/0.6463, allocations: 2.24 MB / 0.7554 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.6463, allocations: 15.89 kB / 0.7555 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.6464, allocations: 4 kB / 0.7555 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.6464, allocations: 3.984 kB / 0.7555 GB, free: 3.566 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.008253/0.6546, allocations: 3.834 MB / 0.7592 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.6547, allocations: 0 / 0.7592 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.6555, allocations: 111.8 kB / 0.7593 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.6583, allocations: 0.8494 MB / 0.7601 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.6584, allocations: 20 kB / 0.7602 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/0.6644, allocations: 3.354 MB / 0.7634 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6645, allocations: 4.031 kB / 0.7634 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.6716, allocations: 2.905 MB / 0.7663 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.6721, allocations: 227.4 kB / 0.7665 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.6722, allocations: 20 kB / 0.7665 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6735, allocations: 139.8 kB / 0.7667 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.6739, allocations: 136.5 kB / 0.7668 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.674, allocations: 20.17 kB / 0.7668 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001061/0.675, allocations: 0.7306 MB / 0.7675 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.675, allocations: 3.938 kB / 0.7675 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001467/0.6765, allocations: 0.5422 MB / 0.7681 GB, free: 6.375 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0002908/0.6768, allocations: 159 kB / 0.7682 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006984/0.6838, allocations: 3.1 MB / 0.7712 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6838, allocations: 0 / 0.7712 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.6866, allocations: 1.221 MB / 0.7724 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.6873, allocations: 106.6 kB / 0.7725 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.6911, allocations: 1.918 MB / 0.7744 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.6917, allocations: 1.11 MB / 0.7755 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009074/0.6926, allocations: 208.9 kB / 0.7757 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.6929, allocations: 43.44 kB / 0.7757 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.6929, allocations: 0 / 0.7757 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.03441/0.7273, allocations: 23.45 MB / 0.7986 GB, free: 6.82 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)