Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.0009251/0.0009251, allocations: 175.2 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.152/1.152, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0007754/0.0007754, allocations: 94.3 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4219/0.4219, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.252e-05, allocations: 7.984 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3308, allocations: 69.5 MB / 0.5492 GB, free: 19.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.451, allocations: 101.7 MB / 0.6485 GB, free: 13.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4512, allocations: 79.95 kB / 0.6486 GB, free: 13.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3635/0.8147, allocations: 30.09 MB / 0.678 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8148, allocations: 1.75 kB / 0.678 GB, free: 104.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.8149, allocations: 22.03 kB / 0.678 GB, free: 104.8 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.004027/0.819, allocations: 1.466 MB / 0.6794 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.819, allocations: 16.81 kB / 0.6795 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.8192, allocations: 111.5 kB / 0.6796 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.8216, allocations: 413 kB / 0.68 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8231, allocations: 0.8678 MB / 0.6808 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.8233, allocations: 245.9 kB / 0.681 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.8235, allocations: 72.33 kB / 0.6811 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.8251, allocations: 0.8485 MB / 0.6819 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8251, allocations: 2.75 kB / 0.6819 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.8252, allocations: 24.94 kB / 0.682 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.8253, allocations: 16.94 kB / 0.682 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.8268, allocations: 0.7808 MB / 0.6827 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.0062/0.833, allocations: 3.613 MB / 0.6863 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.846, allocations: 4.01 MB / 0.6902 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.8467, allocations: 485 kB / 0.6906 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.621e-05/0.8468, allocations: 13.2 kB / 0.6907 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8468, allocations: 46.56 kB / 0.6907 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.436e-06/0.8468, allocations: 3.281 kB / 0.6907 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005393/0.8522, allocations: 2.144 MB / 0.6928 GB, free: 102.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.8523, allocations: 109.5 kB / 0.6929 GB, free: 102.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8535, allocations: 0.9366 MB / 0.6938 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.8536, allocations: 37.7 kB / 0.6939 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.8538, allocations: 484.7 kB / 0.6943 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.8541, allocations: 275.5 kB / 0.6946 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.8541, allocations: 13.91 kB / 0.6946 GB, free: 101.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.8542, allocations: 338.2 kB / 0.6949 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.8548, allocations: 432.1 kB / 0.6953 GB, free: 100.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.8556, allocations: 0.5228 MB / 0.6958 GB, free: 100.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.8563, allocations: 480.8 kB / 0.6963 GB, free: 100.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8563, allocations: 0 / 0.6963 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005994/0.8623, allocations: 2.395 MB / 0.6986 GB, free: 99.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.8625, allocations: 0.6222 MB / 0.6992 GB, free: 98.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8625, allocations: 6.297 kB / 0.6993 GB, free: 98.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.866, allocations: 1.022 MB / 0.7003 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.8667, allocations: 160.5 kB / 0.7004 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007069/0.8738, allocations: 4.462 MB / 0.7048 GB, free: 95.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.8751, allocations: 179 kB / 0.7049 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.8752, allocations: 26.64 kB / 0.705 GB, free: 95.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.8752, allocations: 7.812 kB / 0.705 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005578/0.8808, allocations: 2.26 MB / 0.7072 GB, free: 95.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8808, allocations: 3.75 kB / 0.7072 GB, free: 95.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/0.8843, allocations: 1.014 MB / 0.7082 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.885, allocations: 144.1 kB / 0.7083 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/0.8919, allocations: 4.444 MB / 0.7126 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.8933, allocations: 163.6 kB / 0.7128 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/0.8934, allocations: 31.7 kB / 0.7128 GB, free: 90.36 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.0002922/0.8937, allocations: 145.5 kB / 0.713 GB, free: 90.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.8941, allocations: 122.3 kB / 0.7131 GB, free: 90.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.8994, allocations: 2.24 MB / 0.7153 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8994, allocations: 12 kB / 0.7153 GB, free: 88.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8994, allocations: 4 kB / 0.7153 GB, free: 88.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8995, allocations: 7.172 kB / 0.7153 GB, free: 88.26 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.007175/0.9066, allocations: 3.828 MB / 0.719 GB, free: 85.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9067, allocations: 3.828 kB / 0.719 GB, free: 85.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.9073, allocations: 109.8 kB / 0.7191 GB, free: 85.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/0.9098, allocations: 0.8522 MB / 0.72 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.548e-05/0.9099, allocations: 23.33 kB / 0.72 GB, free: 84.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.9148, allocations: 3.367 MB / 0.7233 GB, free: 81.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9148, allocations: 4 kB / 0.7233 GB, free: 81.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.9206, allocations: 2.89 MB / 0.7261 GB, free: 78.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.921, allocations: 230.7 kB / 0.7263 GB, free: 78.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.9212, allocations: 27.27 kB / 0.7264 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9224, allocations: 132.7 kB / 0.7265 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.9227, allocations: 130.2 kB / 0.7266 GB, free: 78.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.9228, allocations: 23.38 kB / 0.7266 GB, free: 78.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009328/0.9238, allocations: 0.7247 MB / 0.7273 GB, free: 77.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.9238, allocations: 0 / 0.7273 GB, free: 77.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001543/0.9253, allocations: 0.55 MB / 0.7279 GB, free: 76.91 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.00615/0.9315, allocations: 3.569 MB / 0.7314 GB, free: 73.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006097/0.9376, allocations: 3.101 MB / 0.7344 GB, free: 70.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9376, allocations: 4.188 kB / 0.7344 GB, free: 70.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.94, allocations: 1.217 MB / 0.7356 GB, free: 69.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.9407, allocations: 103.7 kB / 0.7357 GB, free: 69.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.9449, allocations: 2.134 MB / 0.7378 GB, free: 67.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.9453, allocations: 1.108 MB / 0.7388 GB, free: 66.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008889/0.9462, allocations: 207.7 kB / 0.739 GB, free: 66.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.9467, allocations: 407.3 kB / 0.7394 GB, free: 65.99 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9467, allocations: 0 / 0.7394 GB, free: 65.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/0.9933, allocations: 33.1 MB / 0.7718 GB, free: 33.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.9935, allocations: 195.6 kB / 0.7719 GB, free: 33.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.763, allocations: 0 / 0.7719 GB, free: 33.13 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)