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.001242/0.001242, allocations: 173.5 kB / 7.646 MB, free: 1.422 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.401/1.401, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.0008223/0.000822, allocations: 105.3 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4325/0.4325, allocations: 78.11 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.65e-05, allocations: 0 / 485.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 69.35 MB / 0.5414 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4434, allocations: 100.4 MB / 0.6394 GB, free: 4.32 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.4437, allocations: 79.95 kB / 0.6395 GB, free: 4.242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07848/0.5221, allocations: 29.58 MB / 0.6684 GB, free: 6.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5222, allocations: 3.938 kB / 0.6684 GB, free: 6.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.237e-05/0.5223, allocations: 24 kB / 0.6684 GB, free: 6.449 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.003332/0.5256, allocations: 1.461 MB / 0.6698 GB, free: 4.941 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5257, allocations: 12.03 kB / 0.6698 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.5279, allocations: 422 kB / 0.6702 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5292, allocations: 0.8566 MB / 0.6711 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.5295, allocations: 215.8 kB / 0.6713 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.5296, allocations: 51.86 kB / 0.6713 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/0.531, allocations: 0.7524 MB / 0.6721 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5322, allocations: 0.7664 MB / 0.6728 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5323, allocations: 0 / 0.6728 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.5323, allocations: 3.938 kB / 0.6728 GB, free: 1.766 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.5324, allocations: 16 kB / 0.6728 GB, free: 1.75 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.2749/0.8072, allocations: 3.481 MB / 0.6762 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0147/0.8219, allocations: 3.98 MB / 0.6801 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.8231, allocations: 466.8 kB / 0.6806 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.8232, allocations: 11.67 kB / 0.6806 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.8232, allocations: 40.97 kB / 0.6806 GB, free: 105.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.8232, allocations: 0 / 0.6806 GB, free: 105.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006007/0.8293, allocations: 2.11 MB / 0.6827 GB, free: 105 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.8293, allocations: 111.2 kB / 0.6828 GB, free: 104.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8307, allocations: 0.8579 MB / 0.6836 GB, free: 104.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.8309, allocations: 25.7 kB / 0.6836 GB, free: 104.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.8312, allocations: 486.2 kB / 0.6841 GB, free: 104.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.8314, allocations: 261.9 kB / 0.6844 GB, free: 104.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.8315, allocations: 1.125 kB / 0.6844 GB, free: 104.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.8316, allocations: 336.1 kB / 0.6847 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.8322, allocations: 424.7 kB / 0.6851 GB, free: 104.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.8329, allocations: 0.5078 MB / 0.6856 GB, free: 104.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.8335, allocations: 453.9 kB / 0.686 GB, free: 104 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8335, allocations: 1.312 kB / 0.686 GB, free: 104 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006374/0.8399, allocations: 2.328 MB / 0.6883 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.8401, allocations: 0.6226 MB / 0.6889 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8401, allocations: 0 / 0.6889 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/0.8438, allocations: 1.006 MB / 0.6899 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/0.8446, allocations: 159.6 kB / 0.69 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007018/0.8516, allocations: 4.303 MB / 0.6942 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.8533, allocations: 160.1 kB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.8534, allocations: 31.03 kB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.8534, allocations: 3.906 kB / 0.6944 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005772/0.8592, allocations: 2.18 MB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8592, allocations: 1.094 kB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.8628, allocations: 1.001 MB / 0.6975 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.8637, allocations: 145.9 kB / 0.6977 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.8705, allocations: 4.297 MB / 0.7019 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.8721, allocations: 144.3 kB / 0.702 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.8722, allocations: 28.38 kB / 0.702 GB, free: 97.31 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.0002847/0.8725, allocations: 118 kB / 0.7021 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005117/0.8776, allocations: 2.095 MB / 0.7042 GB, free: 96.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.8779, allocations: 109.7 kB / 0.7043 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005179/0.883, allocations: 2.17 MB / 0.7064 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8831, allocations: 14.14 kB / 0.7064 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8831, allocations: 6.844 kB / 0.7064 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.8831, allocations: 3.375 kB / 0.7064 GB, free: 95.86 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.006634/0.8897, allocations: 3.68 MB / 0.71 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.8898, allocations: 3 kB / 0.71 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.8904, allocations: 115.7 kB / 0.7101 GB, free: 94.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/0.893, allocations: 0.8386 MB / 0.711 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.8931, allocations: 11.7 kB / 0.711 GB, free: 93.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.8978, allocations: 3.27 MB / 0.7142 GB, free: 90.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8978, allocations: 3.953 kB / 0.7142 GB, free: 90.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.9036, allocations: 2.828 MB / 0.7169 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.904, allocations: 234.3 kB / 0.7172 GB, free: 88.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.9041, allocations: 7.375 kB / 0.7172 GB, free: 88.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.9053, allocations: 121 kB / 0.7173 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.9055, allocations: 136.4 kB / 0.7174 GB, free: 87.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.9056, allocations: 20 kB / 0.7174 GB, free: 87.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007124/0.9063, allocations: 0.6556 MB / 0.7181 GB, free: 87.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9063, allocations: 0 / 0.7181 GB, free: 87.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001255/0.9076, allocations: 0.5064 MB / 0.7186 GB, free: 86.79 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.005876/0.9135, allocations: 3.485 MB / 0.722 GB, free: 83.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005858/0.9193, allocations: 3.022 MB / 0.7249 GB, free: 80.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9194, allocations: 0 / 0.7249 GB, free: 80.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.9217, allocations: 1.192 MB / 0.7261 GB, free: 79.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.9224, allocations: 84.45 kB / 0.7262 GB, free: 79.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.9262, allocations: 2.067 MB / 0.7282 GB, free: 77.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.9267, allocations: 1.105 MB / 0.7293 GB, free: 76.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008423/0.9275, allocations: 207.2 kB / 0.7295 GB, free: 76.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.928, allocations: 400 kB / 0.7298 GB, free: 76.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.928, allocations: 0 / 0.7298 GB, free: 76.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/0.9735, allocations: 30.38 MB / 0.7595 GB, free: 46.81 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.9737, allocations: 160.8 kB / 0.7597 GB, free: 46.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.781, allocations: 0 / 0.7597 GB, free: 46.61 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)