Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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_1.Network2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",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.0012/0.0012, allocations: 174.9 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.154/1.154, 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.0008397/0.0008397, allocations: 102.1 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4169/0.4169, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.843e-05, allocations: 8 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2951, allocations: 69.33 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.4013, allocations: 99.07 MB / 0.6448 GB, free: 1.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4016, allocations: 79.95 kB / 0.6449 GB, free: 1.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05792/0.4595, allocations: 22.7 MB / 0.6671 GB, free: 10.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4595, allocations: 4.656 kB / 0.6671 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.4596, allocations: 12 kB / 0.6671 GB, free: 10.36 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003135/0.4627, allocations: 1.332 MB / 0.6684 GB, free: 8.984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4628, allocations: 11.97 kB / 0.6684 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.4629, allocations: 110.5 kB / 0.6685 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.4651, allocations: 406.2 kB / 0.6689 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.4662, allocations: 0.6566 MB / 0.6695 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4664, allocations: 231.9 kB / 0.6697 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4665, allocations: 75.84 kB / 0.6698 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.4678, allocations: 0.7644 MB / 0.6706 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4678, allocations: 0 / 0.6706 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.4679, allocations: 28 kB / 0.6706 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4679, allocations: 16 kB / 0.6706 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4689, allocations: 0.6222 MB / 0.6712 GB, free: 5.977 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.005139/0.474, allocations: 3.321 MB / 0.6744 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007785/0.4819, allocations: 2.298 MB / 0.6767 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2815/0.7634, allocations: 408.4 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.7636, allocations: 10.67 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7636, allocations: 40.55 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.798e-06/0.7636, allocations: 2.312 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005306/0.7689, allocations: 1.751 MB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.769, allocations: 86.78 kB / 0.6789 GB, free: 107.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7702, allocations: 0.6735 MB / 0.6796 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.7703, allocations: 37.8 kB / 0.6796 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.7705, allocations: 416.8 kB / 0.68 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.7708, allocations: 253.7 kB / 0.6803 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.7708, allocations: 13.97 kB / 0.6803 GB, free: 107.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.7709, allocations: 338.8 kB / 0.6806 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.7715, allocations: 350.8 kB / 0.6809 GB, free: 107.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.7722, allocations: 443.9 kB / 0.6814 GB, free: 107 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.7728, allocations: 392.5 kB / 0.6817 GB, free: 107 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7728, allocations: 0.9375 kB / 0.6817 GB, free: 107 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005832/0.7787, allocations: 1.995 MB / 0.6837 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.7789, allocations: 0.6167 MB / 0.6843 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7789, allocations: 5.188 kB / 0.6843 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/0.7833, allocations: 1.013 MB / 0.6853 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.784, allocations: 105.9 kB / 0.6854 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.7915, allocations: 4.552 MB / 0.6898 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.7926, allocations: 106.6 kB / 0.6899 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.7927, allocations: 27.23 kB / 0.6899 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7927, allocations: 6.219 kB / 0.69 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004784/0.7975, allocations: 1.893 MB / 0.6918 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7975, allocations: 0 / 0.6918 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/0.8011, allocations: 1.011 MB / 0.6928 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.8017, allocations: 102.1 kB / 0.6929 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.8087, allocations: 4.547 MB / 0.6973 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/0.8097, allocations: 106.4 kB / 0.6974 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.8098, allocations: 31.09 kB / 0.6975 GB, free: 100.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.81, allocations: 143.4 kB / 0.6976 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.8102, allocations: 87.61 kB / 0.6977 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.8143, allocations: 1.837 MB / 0.6995 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.8143, allocations: 6.688 kB / 0.6995 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8143, allocations: 7.594 kB / 0.6995 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.8143, allocations: 11.47 kB / 0.6995 GB, free: 100.1 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.005463/0.8198, allocations: 3.204 MB / 0.7026 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8198, allocations: 0 / 0.7026 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.8203, allocations: 86.08 kB / 0.7027 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.8228, allocations: 0.8361 MB / 0.7035 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.8229, allocations: 15.41 kB / 0.7035 GB, free: 98.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004844/0.8277, allocations: 3.523 MB / 0.707 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8278, allocations: 3.953 kB / 0.707 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.8326, allocations: 2.427 MB / 0.7094 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.8329, allocations: 186.6 kB / 0.7095 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.833, allocations: 16 kB / 0.7095 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.8337, allocations: 69.77 kB / 0.7096 GB, free: 93.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.834, allocations: 117 kB / 0.7097 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.8341, allocations: 24 kB / 0.7097 GB, free: 93.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005254/0.8346, allocations: 0.5197 MB / 0.7103 GB, free: 93.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8346, allocations: 0 / 0.7103 GB, free: 93.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001131/0.8358, allocations: 0.5201 MB / 0.7108 GB, free: 92.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004739/0.8405, allocations: 3.155 MB / 0.7138 GB, free: 89.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.8461, allocations: 2.839 MB / 0.7166 GB, free: 87.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8462, allocations: 0 / 0.7166 GB, free: 87.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.8484, allocations: 1.138 MB / 0.7177 GB, free: 86.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.849, allocations: 70.03 kB / 0.7178 GB, free: 86.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.8523, allocations: 1.787 MB / 0.7195 GB, free: 84.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.8526, allocations: 1.031 MB / 0.7205 GB, free: 83.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005106/0.8531, allocations: 123 kB / 0.7207 GB, free: 83.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.8535, allocations: 326.9 kB / 0.721 GB, free: 83.15 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.8535, allocations: 0 / 0.721 GB, free: 83.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.8939, allocations: 27.54 MB / 0.7479 GB, free: 57.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.8941, allocations: 180.9 kB / 0.748 GB, free: 57.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.633, allocations: 4 kB / 0.748 GB, free: 57.76 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)