Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_1.Network2,fileNamePrefix="OpenIPSL_dev_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_dev_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.001075/0.001075, 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.203/1.203, 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.0008694/0.0008694, allocations: 80.97 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4315/0.4315, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.01e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2982, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.4123, allocations: 99.75 MB / 0.6466 GB, free: 15.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4125, allocations: 83.95 kB / 0.6467 GB, free: 15.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.47, allocations: 22.87 MB / 0.669 GB, free: 8.695 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4701, allocations: 0 / 0.669 GB, free: 8.695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.398e-05/0.4701, allocations: 16.66 kB / 0.6691 GB, free: 8.68 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.00313/0.4732, allocations: 1.34 MB / 0.6704 GB, free: 7.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4733, allocations: 11.97 kB / 0.6704 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.4734, allocations: 114.5 kB / 0.6705 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.4756, allocations: 402.3 kB / 0.6709 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.4766, allocations: 0.6527 MB / 0.6715 GB, free: 6.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.4768, allocations: 239.9 kB / 0.6717 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.477, allocations: 71.86 kB / 0.6718 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4783, allocations: 0.7682 MB / 0.6726 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4783, allocations: 0 / 0.6726 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.4784, allocations: 24 kB / 0.6726 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4784, allocations: 16 kB / 0.6726 GB, free: 4.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4794, allocations: 0.6222 MB / 0.6732 GB, free: 4.285 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.005151/0.4846, allocations: 3.329 MB / 0.6765 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2677/0.7523, allocations: 2.3 MB / 0.6787 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000905/0.7532, allocations: 415.6 kB / 0.6791 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.485e-05/0.7533, allocations: 8.859 kB / 0.6791 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.7534, allocations: 40.34 kB / 0.6791 GB, free: 106.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.817e-06/0.7534, allocations: 1.281 kB / 0.6791 GB, free: 106.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005456/0.7588, allocations: 1.745 MB / 0.6808 GB, free: 106.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.7589, allocations: 87.58 kB / 0.6809 GB, free: 106.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.7601, allocations: 0.6738 MB / 0.6816 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7602, allocations: 38.95 kB / 0.6816 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.7605, allocations: 418.4 kB / 0.682 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.7608, allocations: 253.6 kB / 0.6823 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.7608, allocations: 15.08 kB / 0.6823 GB, free: 105.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.7609, allocations: 334.3 kB / 0.6826 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.7616, allocations: 352.8 kB / 0.6829 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.7623, allocations: 449.2 kB / 0.6834 GB, free: 105.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.763, allocations: 391.8 kB / 0.6837 GB, free: 105.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.763, allocations: 0.6875 kB / 0.6837 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00555/0.7686, allocations: 1.996 MB / 0.6857 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7687, allocations: 0.616 MB / 0.6863 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7687, allocations: 0 / 0.6863 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.7723, allocations: 1.017 MB / 0.6873 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.7729, allocations: 110.3 kB / 0.6874 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007185/0.7801, allocations: 4.546 MB / 0.6918 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.7812, allocations: 117.3 kB / 0.6919 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.7813, allocations: 24.97 kB / 0.692 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.7813, allocations: 3.906 kB / 0.692 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004726/0.786, allocations: 1.878 MB / 0.6938 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7861, allocations: 7.812 kB / 0.6938 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/0.7896, allocations: 1.013 MB / 0.6948 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.7902, allocations: 102.9 kB / 0.6949 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.7972, allocations: 4.534 MB / 0.6993 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7982, allocations: 105.3 kB / 0.6994 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.7983, allocations: 27.61 kB / 0.6994 GB, free: 99.36 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.0002169/0.7985, allocations: 147.4 kB / 0.6996 GB, free: 99.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7986, allocations: 89.08 kB / 0.6997 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.8028, allocations: 1.84 MB / 0.7015 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.8028, allocations: 7.594 kB / 0.7015 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8028, allocations: 7.734 kB / 0.7015 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.8029, allocations: 3.938 kB / 0.7015 GB, free: 98.57 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.005411/0.8083, allocations: 3.222 MB / 0.7046 GB, free: 97.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8083, allocations: 0 / 0.7046 GB, free: 97.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.8088, allocations: 82.56 kB / 0.7047 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.8113, allocations: 0.8286 MB / 0.7055 GB, free: 96.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.8114, allocations: 21.83 kB / 0.7055 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.8162, allocations: 3.524 MB / 0.709 GB, free: 93.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8162, allocations: 3.953 kB / 0.709 GB, free: 93.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.8209, allocations: 2.421 MB / 0.7114 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.8212, allocations: 191.5 kB / 0.7115 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8214, allocations: 15.56 kB / 0.7116 GB, free: 91.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.8221, allocations: 73.69 kB / 0.7116 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.8224, allocations: 116.4 kB / 0.7117 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.8225, allocations: 26.61 kB / 0.7118 GB, free: 91.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005616/0.8231, allocations: 0.5176 MB / 0.7123 GB, free: 90.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8231, allocations: 0 / 0.7123 GB, free: 90.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001269/0.8243, allocations: 0.5221 MB / 0.7128 GB, free: 90.37 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.004896/0.8292, allocations: 3.148 MB / 0.7158 GB, free: 87.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00592/0.8352, allocations: 2.838 MB / 0.7186 GB, free: 84.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8352, allocations: 0 / 0.7186 GB, free: 84.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/0.8375, allocations: 1.144 MB / 0.7197 GB, free: 83.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.8383, allocations: 63.53 kB / 0.7198 GB, free: 83.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.842, allocations: 1.792 MB / 0.7215 GB, free: 81.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.8424, allocations: 1.026 MB / 0.7225 GB, free: 81.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005318/0.8429, allocations: 124.4 kB / 0.7227 GB, free: 80.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.8432, allocations: 322.8 kB / 0.723 GB, free: 80.69 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/0.8432, allocations: 0 / 0.723 GB, free: 80.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.8831, allocations: 27.55 MB / 0.7499 GB, free: 55.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.8832, allocations: 193.4 kB / 0.7501 GB, free: 55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.512, allocations: 4 kB / 0.7501 GB, free: 54.99 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)