Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.007144/0.007144, allocations: 171.4 kB / 15.12 MB, free: 5.973 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.434/1.434, allocations: 223.2 MB / 239 MB, free: 1.797 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.001053/0.001053, allocations: 94.95 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4698/0.4698, allocations: 78.59 MB / 419.9 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 8 kB / 499.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3634, allocations: 69.34 MB / 0.5559 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4845, allocations: 99.14 MB / 0.6527 GB, free: 7.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4848, allocations: 83.89 kB / 0.6528 GB, free: 7.266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06034/0.5451, allocations: 22.76 MB / 0.675 GB, free: 388 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5452, allocations: 4 kB / 0.675 GB, free: 384 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.478e-05/0.5452, allocations: 24.09 kB / 0.675 GB, free: 360 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.00437/0.5496, allocations: 1.535 MB / 0.6765 GB, free: 14.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5497, allocations: 20.02 kB / 0.6765 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003192/0.55, allocations: 106.5 kB / 0.6766 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.5527, allocations: 402.3 kB / 0.677 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5543, allocations: 0.6565 MB / 0.6777 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.5545, allocations: 239.8 kB / 0.6779 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.5548, allocations: 71.95 kB / 0.678 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.5568, allocations: 0.8696 MB / 0.6788 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.5568, allocations: 0 / 0.6788 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.5569, allocations: 28 kB / 0.6788 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.557, allocations: 16 kB / 0.6788 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.5587, allocations: 0.7547 MB / 0.6796 GB, free: 11.52 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.006505/0.5652, allocations: 3.333 MB / 0.6828 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008473/0.5737, allocations: 2.464 MB / 0.6852 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.5738, allocations: 8.656 kB / 0.6853 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5739, allocations: 39.22 kB / 0.6853 GB, free: 5.438 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/0.5739, allocations: 4 kB / 0.6853 GB, free: 5.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.01265/0.5865, allocations: 3.864 MB / 0.6891 GB, free: 1.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.5866, allocations: 85.7 kB / 0.6892 GB, free: 1.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5877, allocations: 0.6877 MB / 0.6898 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.5878, allocations: 33.7 kB / 0.6899 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.5881, allocations: 424.2 kB / 0.6903 GB, free: 248 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.5884, allocations: 252.3 kB / 0.6905 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.5884, allocations: 16 kB / 0.6905 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5886, allocations: 329.9 kB / 0.6908 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008868/0.5895, allocations: 461.8 kB / 0.6913 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.5904, allocations: 0.5368 MB / 0.6918 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.5914, allocations: 496.9 kB / 0.6923 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5914, allocations: 3.938 kB / 0.6923 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006506/0.5979, allocations: 2.271 MB / 0.6945 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.5981, allocations: 0.6176 MB / 0.6951 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5982, allocations: 4 kB / 0.6951 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/0.6028, allocations: 1.161 MB / 0.6962 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.6035, allocations: 107.8 kB / 0.6963 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.6144, allocations: 5.218 MB / 0.7014 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6159, allocations: 111.3 kB / 0.7015 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.6161, allocations: 23.98 kB / 0.7016 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6161, allocations: 4 kB / 0.7016 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006402/0.6225, allocations: 2.137 MB / 0.7036 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6226, allocations: 4 kB / 0.7037 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/0.628, allocations: 1.173 MB / 0.7048 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.6288, allocations: 99.89 kB / 0.7049 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.6397, allocations: 5.192 MB / 0.71 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6409, allocations: 103.3 kB / 0.7101 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.6411, allocations: 31.98 kB / 0.7101 GB, free: 11.54 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.0007318/0.6419, allocations: 293.7 kB / 0.7104 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.6422, allocations: 94.83 kB / 0.7105 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/0.6476, allocations: 2.109 MB / 0.7125 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6477, allocations: 4 kB / 0.7125 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.6477, allocations: 8 kB / 0.7125 GB, free: 9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6477, allocations: 7.938 kB / 0.7125 GB, free: 8.992 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.007303/0.655, allocations: 3.478 MB / 0.7159 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.655, allocations: 0 / 0.7159 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.6556, allocations: 83.89 kB / 0.716 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.6588, allocations: 0.9847 MB / 0.717 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/0.6589, allocations: 27.94 kB / 0.717 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.666, allocations: 4.055 MB / 0.721 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.666, allocations: 0 / 0.721 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.6724, allocations: 2.798 MB / 0.7237 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.6728, allocations: 191.8 kB / 0.7239 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.673, allocations: 12 kB / 0.7239 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.6739, allocations: 71.94 kB / 0.724 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.6742, allocations: 120.4 kB / 0.7241 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.6743, allocations: 16 kB / 0.7241 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007494/0.675, allocations: 0.5303 MB / 0.7246 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.675, allocations: 0 / 0.7246 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001534/0.6766, allocations: 0.5226 MB / 0.7251 GB, free: 11.81 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.006855/0.6834, allocations: 3.512 MB / 0.7286 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007193/0.6907, allocations: 3.091 MB / 0.7316 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6907, allocations: 0 / 0.7316 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/0.6935, allocations: 1.257 MB / 0.7328 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.6942, allocations: 67.25 kB / 0.7329 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.7, allocations: 3.953 MB / 0.7367 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.7007, allocations: 1.03 MB / 0.7377 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004257/0.7011, allocations: 68.89 kB / 0.7378 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.7016, allocations: 327.3 kB / 0.7381 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of SimCode: time 3.336e-06/0.7016, allocations: 0 / 0.7381 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/0.7481, allocations: 25.93 MB / 0.7634 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.7484, allocations: 237.3 kB / 0.7637 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.437, allocations: 0 / 0.7637 GB, free: 4.258 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)