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.008728/0.008728, allocations: 169.9 kB / 15.11 MB, free: 5.969 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.544/1.544, allocations: 223.2 MB / 239 MB, free: 1.785 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.001118/0.001118, allocations: 91.64 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5661/0.5661, allocations: 78.52 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 8 kB / 499.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4944, allocations: 69.35 MB / 0.5558 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.6357, allocations: 99.15 MB / 0.6526 GB, free: 7.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.636, allocations: 83.95 kB / 0.6527 GB, free: 7.137 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06146/0.6975, allocations: 22.76 MB / 0.6749 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6975, allocations: 0 / 0.6749 GB, free: 236 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.332e-05/0.6976, allocations: 19.94 kB / 0.675 GB, free: 216 kB / 474.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.003899/0.7015, allocations: 1.538 MB / 0.6765 GB, free: 14.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7015, allocations: 12.03 kB / 0.6765 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.7017, allocations: 110.5 kB / 0.6766 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.704, allocations: 398.3 kB / 0.677 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.7052, allocations: 0.6643 MB / 0.6776 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.7054, allocations: 235.8 kB / 0.6778 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.7055, allocations: 71.95 kB / 0.6779 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.7071, allocations: 0.8735 MB / 0.6788 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.7071, allocations: 4 kB / 0.6788 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.7072, allocations: 24 kB / 0.6788 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.7072, allocations: 16 kB / 0.6788 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.7086, allocations: 0.747 MB / 0.6795 GB, free: 11.38 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005608/0.7142, allocations: 3.337 MB / 0.6828 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008394/0.7226, allocations: 2.46 MB / 0.6852 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.7228, allocations: 12.66 kB / 0.6852 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.7228, allocations: 39.22 kB / 0.6852 GB, free: 5.297 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.7228, allocations: 0 / 0.6852 GB, free: 5.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.01241/0.7352, allocations: 3.872 MB / 0.689 GB, free: 1.355 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.7353, allocations: 85.77 kB / 0.6891 GB, free: 1.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.7364, allocations: 0.6799 MB / 0.6898 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7366, allocations: 37.7 kB / 0.6898 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.7369, allocations: 420.2 kB / 0.6902 GB, free: 108 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.7371, allocations: 252.4 kB / 0.6904 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.7372, allocations: 16 kB / 0.6905 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7373, allocations: 338 kB / 0.6908 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/0.7382, allocations: 453.8 kB / 0.6912 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.7391, allocations: 0.5407 MB / 0.6917 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/0.74, allocations: 496.9 kB / 0.6922 GB, free: 14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.74, allocations: 0 / 0.6922 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006395/0.7464, allocations: 2.271 MB / 0.6944 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.7467, allocations: 0.6239 MB / 0.695 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7467, allocations: 7.984 kB / 0.6951 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/0.7512, allocations: 1.161 MB / 0.6962 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.752, allocations: 111.8 kB / 0.6963 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.7622, allocations: 5.207 MB / 0.7014 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.7634, allocations: 111.3 kB / 0.7015 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.7635, allocations: 24 kB / 0.7015 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7635, allocations: 4 kB / 0.7015 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006099/0.7696, allocations: 2.141 MB / 0.7036 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7696, allocations: 7.938 kB / 0.7036 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004441/0.7741, allocations: 1.162 MB / 0.7047 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.7748, allocations: 103.8 kB / 0.7048 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.7848, allocations: 5.192 MB / 0.7099 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.786, allocations: 103.3 kB / 0.71 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.7861, allocations: 27.98 kB / 0.71 GB, free: 11.4 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.0005731/0.7867, allocations: 297.1 kB / 0.7103 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.7869, allocations: 94.83 kB / 0.7104 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/0.7924, allocations: 2.109 MB / 0.7125 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.7925, allocations: 8 kB / 0.7125 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.7925, allocations: 8 kB / 0.7125 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.7925, allocations: 7.938 kB / 0.7125 GB, free: 8.844 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007649/0.8002, allocations: 3.478 MB / 0.7159 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8002, allocations: 0 / 0.7159 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.8008, allocations: 83.89 kB / 0.716 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/0.8041, allocations: 0.9893 MB / 0.7169 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.8042, allocations: 16 kB / 0.717 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007288/0.8115, allocations: 4.056 MB / 0.7209 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8115, allocations: 7.953 kB / 0.7209 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/0.8182, allocations: 2.791 MB / 0.7236 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.8187, allocations: 187.8 kB / 0.7238 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.8188, allocations: 20.17 kB / 0.7238 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.8196, allocations: 67.95 kB / 0.7239 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.82, allocations: 128.3 kB / 0.724 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.8201, allocations: 19.98 kB / 0.7241 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007511/0.8208, allocations: 0.5264 MB / 0.7246 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8208, allocations: 4 kB / 0.7246 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001553/0.8224, allocations: 0.5148 MB / 0.7251 GB, free: 11.67 MB / 0.5261 GB 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 () * Number of clocked 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.006948/0.8294, allocations: 3.501 MB / 0.7285 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007598/0.837, allocations: 3.099 MB / 0.7315 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.8371, allocations: 4.062 kB / 0.7315 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.8401, allocations: 1.249 MB / 0.7327 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.8408, allocations: 62.52 kB / 0.7328 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.8459, allocations: 3.965 MB / 0.7367 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.8465, allocations: 1.03 MB / 0.7377 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.8469, allocations: 60.91 kB / 0.7377 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.8474, allocations: 327.3 kB / 0.738 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of SimCode: time 7.82e-07/0.8474, allocations: 3.938 kB / 0.7381 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/0.9064, allocations: 25.92 MB / 0.7634 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.9066, allocations: 215 kB / 0.7636 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.605, allocations: 0 / 0.7636 GB, free: 4.125 MB / 0.5573 GB (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)