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.0009415/0.0009415, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.172/1.172, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 79.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4307/0.4307, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.475e-05, allocations: 0 / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 69.35 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3965, allocations: 101 MB / 0.6467 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.3967, allocations: 79.94 kB / 0.6468 GB, free: 15.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09704/0.4938, allocations: 29.91 MB / 0.676 GB, free: 1.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4938, allocations: 0 / 0.676 GB, free: 1.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.491e-05/0.4939, allocations: 24 kB / 0.676 GB, free: 1.184 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.2518/0.7457, allocations: 1.456 MB / 0.6774 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.7458, allocations: 14.34 kB / 0.6775 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000681/0.7465, allocations: 110.2 kB / 0.6776 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.7493, allocations: 416.2 kB / 0.678 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.7509, allocations: 0.8629 MB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/0.7512, allocations: 246 kB / 0.679 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.7513, allocations: 73.59 kB / 0.6791 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.7529, allocations: 0.8479 MB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7529, allocations: 2.516 kB / 0.6799 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.753, allocations: 26.38 kB / 0.68 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.753, allocations: 19.38 kB / 0.68 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.7543, allocations: 0.7787 MB / 0.6807 GB, free: 103.7 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.006121/0.7605, allocations: 3.617 MB / 0.6843 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/0.7735, allocations: 4.006 MB / 0.6882 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/0.7742, allocations: 496.5 kB / 0.6887 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.7743, allocations: 14.27 kB / 0.6887 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.7743, allocations: 41.78 kB / 0.6887 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 1.954e-06/0.7743, allocations: 0 / 0.6887 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005269/0.7796, allocations: 2.147 MB / 0.6908 GB, free: 102.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.7797, allocations: 109.5 kB / 0.6909 GB, free: 102.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.7808, allocations: 0.9333 MB / 0.6918 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.7808, allocations: 41.33 kB / 0.6919 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.7811, allocations: 477.5 kB / 0.6923 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.7813, allocations: 276.5 kB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.7813, allocations: 19.91 kB / 0.6926 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.7814, allocations: 338.7 kB / 0.6929 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.782, allocations: 429.7 kB / 0.6933 GB, free: 100.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.7826, allocations: 0.5255 MB / 0.6939 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.7833, allocations: 478.6 kB / 0.6943 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7833, allocations: 0 / 0.6943 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005764/0.789, allocations: 2.399 MB / 0.6966 GB, free: 99.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.7892, allocations: 0.6213 MB / 0.6973 GB, free: 98.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7892, allocations: 3.688 kB / 0.6973 GB, free: 98.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.7928, allocations: 1.018 MB / 0.6983 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.7935, allocations: 157.8 kB / 0.6984 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007061/0.8006, allocations: 4.45 MB / 0.7027 GB, free: 96.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.8019, allocations: 179 kB / 0.7029 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.802, allocations: 27.22 kB / 0.7029 GB, free: 96.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.802, allocations: 4.594 kB / 0.703 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005655/0.8077, allocations: 2.264 MB / 0.7052 GB, free: 95.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.8077, allocations: 3.562 kB / 0.7052 GB, free: 95.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003455/0.8112, allocations: 1.012 MB / 0.7062 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.8118, allocations: 146.5 kB / 0.7063 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/0.8187, allocations: 4.454 MB / 0.7106 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.82, allocations: 165.4 kB / 0.7108 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.82, allocations: 22.72 kB / 0.7108 GB, free: 91.54 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.0002118/0.8202, allocations: 152.7 kB / 0.711 GB, free: 91.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.8204, allocations: 114.5 kB / 0.7111 GB, free: 91.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.8255, allocations: 2.244 MB / 0.7133 GB, free: 89.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8256, allocations: 8 kB / 0.7133 GB, free: 89.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8256, allocations: 4 kB / 0.7133 GB, free: 89.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8256, allocations: 7.328 kB / 0.7133 GB, free: 89.43 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.006574/0.8322, allocations: 3.836 MB / 0.717 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8322, allocations: 7.797 kB / 0.717 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.8328, allocations: 107.6 kB / 0.7171 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.8353, allocations: 0.8492 MB / 0.718 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.8354, allocations: 16 kB / 0.718 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.8401, allocations: 3.375 MB / 0.7213 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8401, allocations: 0 / 0.7213 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.8458, allocations: 2.894 MB / 0.7241 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.846, allocations: 229.9 kB / 0.7243 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.8462, allocations: 23.89 kB / 0.7244 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8473, allocations: 124.7 kB / 0.7245 GB, free: 79.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.8476, allocations: 135.3 kB / 0.7246 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.8477, allocations: 24.19 kB / 0.7246 GB, free: 79.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007894/0.8485, allocations: 0.7241 MB / 0.7253 GB, free: 78.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8485, allocations: 3.938 kB / 0.7253 GB, free: 78.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001222/0.8497, allocations: 0.5428 MB / 0.7259 GB, free: 78.11 MB / 490.7 MB 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.006001/0.8557, allocations: 3.577 MB / 0.7294 GB, free: 74.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006156/0.8619, allocations: 3.1 MB / 0.7324 GB, free: 71.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8619, allocations: 0 / 0.7324 GB, free: 71.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.8644, allocations: 1.218 MB / 0.7336 GB, free: 70.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/0.8653, allocations: 98.55 kB / 0.7337 GB, free: 70.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.869, allocations: 2.136 MB / 0.7358 GB, free: 68.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.8694, allocations: 1.107 MB / 0.7368 GB, free: 67.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007759/0.8702, allocations: 214.6 kB / 0.737 GB, free: 67.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.8706, allocations: 403.1 kB / 0.7374 GB, free: 67.31 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.8706, allocations: 0 / 0.7374 GB, free: 67.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04206/0.9127, allocations: 33.09 MB / 0.7697 GB, free: 34.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.9129, allocations: 189.1 kB / 0.7699 GB, free: 34.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.606, allocations: 0 / 0.7699 GB, free: 34.64 MB / 490.7 MB (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)