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: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007878/0.007878, allocations: 170.7 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.464/1.464, allocations: 223.2 MB / 239 MB, free: 1.762 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.0008806/0.0008807, allocations: 94.28 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4249/0.4249, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 12 kB / 499.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3294, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4589, allocations: 101.1 MB / 0.6545 GB, free: 5.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.4592, allocations: 83.95 kB / 0.6546 GB, free: 5.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08177/0.541, allocations: 29.97 MB / 0.6839 GB, free: 7.043 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5411, allocations: 0 / 0.6839 GB, free: 7.043 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.873e-05/0.5412, allocations: 20 kB / 0.6839 GB, free: 7.023 MB / 490.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.004927/0.5461, allocations: 1.815 MB / 0.6857 GB, free: 5.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.5462, allocations: 12.03 kB / 0.6857 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.5464, allocations: 114.5 kB / 0.6858 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.5488, allocations: 422 kB / 0.6862 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.5509, allocations: 0.9464 MB / 0.6871 GB, free: 3.605 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.5513, allocations: 243.5 kB / 0.6873 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.5515, allocations: 68 kB / 0.6874 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.5537, allocations: 1.003 MB / 0.6884 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5538, allocations: 0 / 0.6884 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.5539, allocations: 31.94 kB / 0.6884 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5539, allocations: 12 kB / 0.6884 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.5559, allocations: 0.9656 MB / 0.6894 GB, free: 1.234 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.006691/0.5626, allocations: 3.617 MB / 0.6929 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.5778, allocations: 4.278 MB / 0.6971 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.5781, allocations: 16.64 kB / 0.6971 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5782, allocations: 47.11 kB / 0.6971 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.008e-06/0.5782, allocations: 0 / 0.6971 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01555/0.5938, allocations: 4.688 MB / 0.7017 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.5939, allocations: 107.5 kB / 0.7018 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.5964, allocations: 1.023 MB / 0.7028 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.5967, allocations: 41.7 kB / 0.7029 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.5973, allocations: 481 kB / 0.7033 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.5977, allocations: 279.9 kB / 0.7036 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.5978, allocations: 20 kB / 0.7036 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5979, allocations: 330 kB / 0.7039 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.5993, allocations: 0.572 MB / 0.7045 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6007, allocations: 0.6781 MB / 0.7051 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.6021, allocations: 0.6131 MB / 0.7057 GB, free: 124 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.6021, allocations: 0 / 0.7057 GB, free: 124 kB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008661/0.6108, allocations: 2.814 MB / 0.7085 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003319/0.6112, allocations: 0.6203 MB / 0.7091 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6112, allocations: 4 kB / 0.7091 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/0.6161, allocations: 1.248 MB / 0.7103 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6172, allocations: 155.8 kB / 0.7105 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.6292, allocations: 5.578 MB / 0.7159 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.6311, allocations: 179.2 kB / 0.7161 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.6312, allocations: 35.97 kB / 0.7161 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6313, allocations: 5.562 kB / 0.7161 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007674/0.6389, allocations: 2.633 MB / 0.7187 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.639, allocations: 0 / 0.7187 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/0.6436, allocations: 1.239 MB / 0.7199 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.6446, allocations: 147.8 kB / 0.7201 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.6559, allocations: 5.56 MB / 0.7255 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.6576, allocations: 163.2 kB / 0.7256 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.6577, allocations: 28 kB / 0.7257 GB, free: 11.38 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0006939/0.6584, allocations: 352.9 kB / 0.726 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.6588, allocations: 110.6 kB / 0.7261 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/0.6658, allocations: 2.654 MB / 0.7287 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.6658, allocations: 8 kB / 0.7287 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6659, allocations: 4 kB / 0.7287 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.6659, allocations: 3.984 kB / 0.7287 GB, free: 8.219 MB / 0.5261 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.009281/0.6752, allocations: 4.232 MB / 0.7328 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6752, allocations: 0 / 0.7328 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/0.676, allocations: 111.9 kB / 0.733 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003307/0.6793, allocations: 1.081 MB / 0.734 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.6794, allocations: 23.98 kB / 0.734 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008211/0.6877, allocations: 4.292 MB / 0.7382 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6877, allocations: 0 / 0.7382 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008594/0.6963, allocations: 3.441 MB / 0.7416 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.6968, allocations: 231.5 kB / 0.7418 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.697, allocations: 16 kB / 0.7418 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.6983, allocations: 135.9 kB / 0.742 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.6987, allocations: 128.4 kB / 0.7421 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.6987, allocations: 20 kB / 0.7421 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00152/0.7003, allocations: 0.8153 MB / 0.7429 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7003, allocations: 0 / 0.7429 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001577/0.7019, allocations: 0.55 MB / 0.7434 GB, free: 8.855 MB / 0.5417 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 () * Number of clocked 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.00896/0.7108, allocations: 4.116 MB / 0.7474 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008349/0.7192, allocations: 3.497 MB / 0.7509 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7193, allocations: 0 / 0.7509 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/0.7226, allocations: 1.385 MB / 0.7522 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7236, allocations: 106.6 kB / 0.7523 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.7305, allocations: 4.305 MB / 0.7565 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.7313, allocations: 1.112 MB / 0.7576 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006733/0.732, allocations: 129.9 kB / 0.7577 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/0.7327, allocations: 411.3 kB / 0.7581 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.303e-06/0.7327, allocations: 0 / 0.7581 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2734/1.006, allocations: 31.03 MB / 0.7884 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.006, allocations: 216.3 kB / 0.7886 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.91, allocations: 1.406 kB / 0.7886 GB, free: 145 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)