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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009037/0.0009038, allocations: 169.9 kB / 7.64 MB, free: 1.414 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.29/1.29, allocations: 221.5 MB / 229.6 MB, free: 7.504 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.0009458/0.0009457, allocations: 85.81 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4577/0.4577, allocations: 78.07 MB / 409.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.508e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 69.37 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4955, allocations: 100.3 MB / 0.6393 GB, free: 15.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4957, allocations: 84.66 kB / 0.6394 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07998/0.5757, allocations: 29.57 MB / 0.6682 GB, free: 1.602 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5757, allocations: 0 / 0.6682 GB, free: 1.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001018/0.5759, allocations: 16.44 kB / 0.6683 GB, free: 1.586 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004/0.5799, allocations: 1.47 MB / 0.6697 GB, free: 72 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5799, allocations: 9.531 kB / 0.6697 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.5825, allocations: 418 kB / 0.6701 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.5843, allocations: 0.8605 MB / 0.6709 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.5846, allocations: 223.8 kB / 0.6712 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.5848, allocations: 43.86 kB / 0.6712 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001513/0.5863, allocations: 0.7524 MB / 0.6719 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5878, allocations: 0.7586 MB / 0.6727 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5878, allocations: 0 / 0.6727 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.5879, allocations: 0 / 0.6727 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5879, allocations: 16 kB / 0.6727 GB, free: 12.89 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 preOpt removeSimpleEquations (simulation): time 0.006462/0.5944, allocations: 3.503 MB / 0.6761 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.6078, allocations: 3.976 MB / 0.68 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.6087, allocations: 464.2 kB / 0.6804 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6088, allocations: 8.781 kB / 0.6804 GB, free: 4.793 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.6089, allocations: 39.34 kB / 0.6805 GB, free: 4.746 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/0.6089, allocations: 3.938 kB / 0.6805 GB, free: 4.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006108/0.615, allocations: 2.11 MB / 0.6825 GB, free: 2.617 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6151, allocations: 111.6 kB / 0.6827 GB, free: 2.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.6167, allocations: 0.8583 MB / 0.6835 GB, free: 1.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.6168, allocations: 25.7 kB / 0.6835 GB, free: 1.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.6172, allocations: 488.6 kB / 0.684 GB, free: 1.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.6175, allocations: 264 kB / 0.6842 GB, free: 0.832 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.6176, allocations: 3.938 kB / 0.6842 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6178, allocations: 342 kB / 0.6846 GB, free: 500 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.6184, allocations: 414.6 kB / 0.685 GB, free: 84 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.6192, allocations: 0.5079 MB / 0.6855 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.6199, allocations: 461.3 kB / 0.6859 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6199, allocations: 0 / 0.6859 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006641/0.6266, allocations: 2.328 MB / 0.6882 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.6268, allocations: 0.6215 MB / 0.6888 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6269, allocations: 0 / 0.6888 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.6308, allocations: 1.002 MB / 0.6898 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.6317, allocations: 159.8 kB / 0.6899 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.64, allocations: 4.295 MB / 0.6941 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6416, allocations: 163.1 kB / 0.6943 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.6418, allocations: 28 kB / 0.6943 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6419, allocations: 4 kB / 0.6943 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006419/0.6483, allocations: 2.182 MB / 0.6964 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.6483, allocations: 4 kB / 0.6964 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/0.6522, allocations: 1.004 MB / 0.6974 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.6531, allocations: 143.8 kB / 0.6975 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/0.6611, allocations: 4.301 MB / 0.7017 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6628, allocations: 141.9 kB / 0.7019 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.663, allocations: 24 kB / 0.7019 GB, free: 14.39 MB / 0.5105 GB 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.0003798/0.6633, allocations: 118.4 kB / 0.702 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.6637, allocations: 114.5 kB / 0.7021 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/0.6696, allocations: 2.177 MB / 0.7042 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.6696, allocations: 8 kB / 0.7043 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6697, allocations: 11.98 kB / 0.7043 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6697, allocations: 0 / 0.7043 GB, free: 11.95 MB / 0.5105 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.008049/0.6777, allocations: 3.674 MB / 0.7079 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6778, allocations: 0 / 0.7079 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.6785, allocations: 111.9 kB / 0.708 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.6812, allocations: 0.847 MB / 0.7088 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.6813, allocations: 11.94 kB / 0.7088 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/0.687, allocations: 3.28 MB / 0.712 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.687, allocations: 0 / 0.712 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006789/0.6938, allocations: 2.831 MB / 0.7148 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.6943, allocations: 219.6 kB / 0.715 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.6946, allocations: 11.95 kB / 0.715 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.6959, allocations: 119.9 kB / 0.7151 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/0.6963, allocations: 128.5 kB / 0.7152 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.6964, allocations: 20 kB / 0.7152 GB, free: 448 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001148/0.6975, allocations: 0.6627 MB / 0.7159 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6976, allocations: 5.344 kB / 0.7159 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00194/0.6995, allocations: 0.503 MB / 0.7164 GB, free: 15.26 MB / 0.5261 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.0003055/0.6998, allocations: 142.8 kB / 0.7165 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006995/0.7068, allocations: 3.008 MB / 0.7195 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7068, allocations: 0 / 0.7195 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/0.7096, allocations: 1.188 MB / 0.7206 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.7104, allocations: 88.27 kB / 0.7207 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.7144, allocations: 1.88 MB / 0.7225 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.7152, allocations: 1.111 MB / 0.7236 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009567/0.7161, allocations: 204.6 kB / 0.7238 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.7164, allocations: 51.42 kB / 0.7239 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/0.7164, allocations: 0 / 0.7239 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of Templates: time 0.03374/0.7501, allocations: 21.22 MB / 0.7446 GB, free: 2.375 MB / 0.5417 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)