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.008494/0.008494, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.533/1.533, allocations: 223.2 MB / 239 MB, free: 1.762 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.0009246/0.0009244, allocations: 100.5 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 79.44 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 19.97 kB / 0.4891 GB, free: 1.891 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4578, allocations: 69.49 MB / 0.557 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.6141, allocations: 99.83 MB / 0.6545 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6144, allocations: 83.95 kB / 0.6546 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06726/0.6817, allocations: 22.96 MB / 0.677 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6817, allocations: 0 / 0.677 GB, free: 14.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.6819, allocations: 19.94 kB / 0.677 GB, free: 14.55 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.005209/0.6871, allocations: 1.538 MB / 0.6785 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6872, allocations: 12.03 kB / 0.6785 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003919/0.6876, allocations: 110.5 kB / 0.6786 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.6902, allocations: 410.2 kB / 0.679 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.692, allocations: 0.6565 MB / 0.6797 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.6923, allocations: 239.8 kB / 0.6799 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.6925, allocations: 67.95 kB / 0.68 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.6945, allocations: 0.8773 MB / 0.6808 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6945, allocations: 0 / 0.6808 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.6946, allocations: 28 kB / 0.6808 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.6946, allocations: 16 kB / 0.6809 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.6964, allocations: 0.7509 MB / 0.6816 GB, free: 9.707 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.006257/0.7027, allocations: 3.333 MB / 0.6848 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/0.7115, allocations: 2.46 MB / 0.6872 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.7117, allocations: 12.64 kB / 0.6873 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.7117, allocations: 39.22 kB / 0.6873 GB, free: 3.629 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.7117, allocations: 0 / 0.6873 GB, free: 3.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.0136/0.7253, allocations: 3.876 MB / 0.6911 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.7255, allocations: 81.77 kB / 0.6912 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.7267, allocations: 0.6799 MB / 0.6918 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.7269, allocations: 37.7 kB / 0.6919 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.7272, allocations: 412.2 kB / 0.6923 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.7275, allocations: 264.1 kB / 0.6925 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.7276, allocations: 16 kB / 0.6925 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7278, allocations: 338 kB / 0.6928 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.7287, allocations: 449.8 kB / 0.6933 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.7297, allocations: 0.5406 MB / 0.6938 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.7307, allocations: 496.9 kB / 0.6943 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7307, allocations: 0 / 0.6943 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00669/0.7374, allocations: 2.271 MB / 0.6965 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.7378, allocations: 0.6206 MB / 0.6971 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7378, allocations: 0 / 0.6971 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/0.7427, allocations: 1.168 MB / 0.6982 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.7435, allocations: 103.9 kB / 0.6983 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.7544, allocations: 5.221 MB / 0.7034 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.7559, allocations: 115.3 kB / 0.7035 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.756, allocations: 24 kB / 0.7036 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.756, allocations: 4.625 kB / 0.7036 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006465/0.7625, allocations: 2.137 MB / 0.7057 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7625, allocations: 3.953 kB / 0.7057 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/0.7672, allocations: 1.162 MB / 0.7068 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.768, allocations: 107.8 kB / 0.7069 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.7788, allocations: 5.192 MB / 0.712 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.7801, allocations: 99.52 kB / 0.7121 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.7802, allocations: 27.98 kB / 0.7121 GB, free: 9.73 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.0006624/0.7809, allocations: 297.9 kB / 0.7124 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.7811, allocations: 90.83 kB / 0.7125 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.7868, allocations: 2.113 MB / 0.7145 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7868, allocations: 12 kB / 0.7145 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.7868, allocations: 4 kB / 0.7145 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.7869, allocations: 7.938 kB / 0.7146 GB, free: 7.176 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.007813/0.7947, allocations: 3.478 MB / 0.7179 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7948, allocations: 4 kB / 0.718 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.7954, allocations: 79.83 kB / 0.718 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/0.7987, allocations: 0.9888 MB / 0.719 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.7989, allocations: 12 kB / 0.719 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007578/0.8065, allocations: 4.07 MB / 0.723 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8065, allocations: 3.953 kB / 0.723 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006802/0.8133, allocations: 2.783 MB / 0.7257 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.8139, allocations: 199.8 kB / 0.7259 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.814, allocations: 16 kB / 0.7259 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.8148, allocations: 63.95 kB / 0.726 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.8152, allocations: 128.4 kB / 0.7261 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.8153, allocations: 24 kB / 0.7261 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000777/0.816, allocations: 0.5303 MB / 0.7266 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.816, allocations: 0 / 0.7266 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0016/0.8177, allocations: 0.5109 MB / 0.7271 GB, free: 10 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.006979/0.8246, allocations: 3.511 MB / 0.7306 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007605/0.8323, allocations: 3.099 MB / 0.7336 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8323, allocations: 0 / 0.7336 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.8353, allocations: 1.249 MB / 0.7348 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.8361, allocations: 67.25 kB / 0.7349 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.8416, allocations: 3.968 MB / 0.7387 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.8422, allocations: 1.026 MB / 0.7397 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.8426, allocations: 64.91 kB / 0.7398 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.8431, allocations: 331.3 kB / 0.7401 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.8431, allocations: 7.938 kB / 0.7401 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.8901, allocations: 25.91 MB / 0.7654 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.8904, allocations: 220.9 kB / 0.7656 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.717, allocations: 4.062 kB / 0.7657 GB, free: 2.422 MB / 0.5573 GB (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)