Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.001126/0.001126, 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 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007946/0.0007946, allocations: 84.7 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4247/0.4247, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.564e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2963, allocations: 69.35 MB / 0.5481 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4128, allocations: 101 MB / 0.6467 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4131, allocations: 87.89 kB / 0.6468 GB, free: 15.44 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08394/0.497, allocations: 29.91 MB / 0.676 GB, free: 1.332 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4971, allocations: 0 / 0.676 GB, free: 1.332 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.707e-05/0.4972, allocations: 20 kB / 0.6761 GB, free: 1.312 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.2919/0.7891, allocations: 1.466 MB / 0.6775 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7892, allocations: 16.66 kB / 0.6775 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004221/0.7896, allocations: 107.2 kB / 0.6776 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.7924, allocations: 412.8 kB / 0.678 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.794, allocations: 0.8662 MB / 0.6788 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.7943, allocations: 246.7 kB / 0.6791 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.7945, allocations: 75.33 kB / 0.6791 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.7961, allocations: 0.8506 MB / 0.68 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.7961, allocations: 2.703 kB / 0.68 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.7962, allocations: 23.95 kB / 0.68 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.7962, allocations: 15.34 kB / 0.68 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.7977, allocations: 0.7816 MB / 0.6808 GB, free: 103.8 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.007058/0.8048, allocations: 3.614 MB / 0.6843 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.8196, allocations: 4.007 MB / 0.6882 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.8207, allocations: 484.5 kB / 0.6887 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.8208, allocations: 18.27 kB / 0.6887 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.8209, allocations: 40.84 kB / 0.6887 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.787e-06/0.8209, allocations: 4 kB / 0.6887 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005893/0.8268, allocations: 2.144 MB / 0.6908 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.8269, allocations: 113.7 kB / 0.6909 GB, free: 102.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8282, allocations: 0.9296 MB / 0.6919 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.8284, allocations: 41.64 kB / 0.6919 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.8287, allocations: 482.6 kB / 0.6924 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.8289, allocations: 276.5 kB / 0.6926 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.829, allocations: 15.5 kB / 0.6926 GB, free: 101.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.829, allocations: 335.8 kB / 0.693 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.8297, allocations: 432.8 kB / 0.6934 GB, free: 101 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.8303, allocations: 0.533 MB / 0.6939 GB, free: 100.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.831, allocations: 465.6 kB / 0.6943 GB, free: 100.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.831, allocations: 7.219 kB / 0.6943 GB, free: 100.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006524/0.8376, allocations: 2.404 MB / 0.6967 GB, free: 99.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.8377, allocations: 0.6096 MB / 0.6973 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8377, allocations: 3.906 kB / 0.6973 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/0.8417, allocations: 1.025 MB / 0.6983 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.8427, allocations: 164.6 kB / 0.6984 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/0.8504, allocations: 4.449 MB / 0.7028 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.852, allocations: 174.6 kB / 0.703 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.8521, allocations: 32.62 kB / 0.703 GB, free: 96.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.8521, allocations: 3.469 kB / 0.703 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006089/0.8582, allocations: 2.256 MB / 0.7052 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8582, allocations: 4.297 kB / 0.7052 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/0.8621, allocations: 1.01 MB / 0.7062 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.863, allocations: 149.9 kB / 0.7063 GB, free: 95.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/0.8707, allocations: 4.447 MB / 0.7107 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.8723, allocations: 167.7 kB / 0.7108 GB, free: 91.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8725, allocations: 31.5 kB / 0.7109 GB, free: 91.7 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.0002765/0.8728, allocations: 143.8 kB / 0.711 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.8731, allocations: 118.5 kB / 0.7111 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.8787, allocations: 2.242 MB / 0.7133 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8787, allocations: 8 kB / 0.7133 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8787, allocations: 4 kB / 0.7133 GB, free: 89.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.8787, allocations: 3.422 kB / 0.7133 GB, free: 89.6 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.007601/0.8863, allocations: 3.838 MB / 0.7171 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.8864, allocations: 0 / 0.7171 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.8871, allocations: 117.3 kB / 0.7172 GB, free: 86.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.8898, allocations: 0.8441 MB / 0.718 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.8899, allocations: 20 kB / 0.718 GB, free: 85.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.8951, allocations: 3.375 MB / 0.7213 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8951, allocations: 4 kB / 0.7213 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006677/0.9018, allocations: 2.894 MB / 0.7241 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.9024, allocations: 229.6 kB / 0.7244 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.9027, allocations: 20 kB / 0.7244 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.9039, allocations: 132.9 kB / 0.7245 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.9043, allocations: 135.7 kB / 0.7246 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.9044, allocations: 16 kB / 0.7247 GB, free: 79.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.9054, allocations: 0.7267 MB / 0.7254 GB, free: 78.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9054, allocations: 0 / 0.7254 GB, free: 78.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001678/0.9071, allocations: 0.5458 MB / 0.7259 GB, free: 78.27 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.006815/0.9139, allocations: 3.566 MB / 0.7294 GB, free: 75.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00667/0.9206, allocations: 3.107 MB / 0.7324 GB, free: 72.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9207, allocations: 0 / 0.7324 GB, free: 72.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.9233, allocations: 1.215 MB / 0.7336 GB, free: 70.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.9243, allocations: 111.6 kB / 0.7337 GB, free: 70.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.9289, allocations: 2.135 MB / 0.7358 GB, free: 68.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.9294, allocations: 1.109 MB / 0.7369 GB, free: 67.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008793/0.9303, allocations: 206 kB / 0.7371 GB, free: 67.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.9308, allocations: 403.7 kB / 0.7375 GB, free: 67.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/0.9308, allocations: 4 kB / 0.7375 GB, free: 67.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/0.9842, allocations: 33.11 MB / 0.7698 GB, free: 34.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.9844, allocations: 192.5 kB / 0.77 GB, free: 34.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.857, allocations: 0 / 0.77 GB, free: 34.77 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)