Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_2_0_0_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_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005315/0.005315, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 78.89 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07109/0.07109, allocations: 12.21 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4217/0.4217, allocations: 78.52 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.000523, allocations: 18.28 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 69.24 MB / 0.5956 GB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.5152, allocations: 100.7 MB / 0.6939 GB, free: 35.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5155, allocations: 86.19 kB / 0.694 GB, free: 35.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05789/0.5734, allocations: 22.09 MB / 0.7156 GB, free: 33.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5734, allocations: 0 / 0.7156 GB, free: 33.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.006e-05/0.5735, allocations: 21 kB / 0.7156 GB, free: 33.24 MB / 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.004664/0.5782, allocations: 1.543 MB / 0.7171 GB, free: 32.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5782, allocations: 14.08 kB / 0.7171 GB, free: 32.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003141/0.5785, allocations: 114.3 kB / 0.7172 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.5809, allocations: 399 kB / 0.7176 GB, free: 32.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.5824, allocations: 0.6685 MB / 0.7183 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.5826, allocations: 239.6 kB / 0.7185 GB, free: 31.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.5828, allocations: 73.45 kB / 0.7186 GB, free: 31.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.5847, allocations: 0.873 MB / 0.7194 GB, free: 31.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5847, allocations: 0 / 0.7194 GB, free: 31.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.5848, allocations: 24.19 kB / 0.7195 GB, free: 31.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.5848, allocations: 16.31 kB / 0.7195 GB, free: 31.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5863, allocations: 0.7565 MB / 0.7202 GB, free: 31.79 MB / 474.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.00533/0.5916, allocations: 3.32 MB / 0.7235 GB, free: 30.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007672/0.5993, allocations: 2.453 MB / 0.7258 GB, free: 30.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5994, allocations: 12.38 kB / 0.7259 GB, free: 30.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5995, allocations: 45.45 kB / 0.7259 GB, free: 30.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=72): time 3.817e-06/0.5995, allocations: 0 / 0.7259 GB, free: 30.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=72): time 0.01121/0.6107, allocations: 3.88 MB / 0.7297 GB, free: 29.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.6108, allocations: 85.67 kB / 0.7298 GB, free: 29.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.6119, allocations: 0.686 MB / 0.7304 GB, free: 29.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.612, allocations: 39.08 kB / 0.7305 GB, free: 29.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.6123, allocations: 413.7 kB / 0.7309 GB, free: 29.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.6125, allocations: 257 kB / 0.7311 GB, free: 29.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.6126, allocations: 14.09 kB / 0.7311 GB, free: 29.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.6127, allocations: 333.3 kB / 0.7315 GB, free: 28.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.6135, allocations: 456.7 kB / 0.7319 GB, free: 28.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/0.6143, allocations: 0.5445 MB / 0.7324 GB, free: 28.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/0.6151, allocations: 0.4895 MB / 0.7329 GB, free: 28.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6151, allocations: 0 / 0.7329 GB, free: 28.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005862/0.621, allocations: 2.279 MB / 0.7351 GB, free: 28.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.6212, allocations: 0.615 MB / 0.7357 GB, free: 27.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6212, allocations: 3.969 kB / 0.7357 GB, free: 27.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.6253, allocations: 1.165 MB / 0.7369 GB, free: 27.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.6259, allocations: 107 kB / 0.737 GB, free: 27.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008847/0.6348, allocations: 5.21 MB / 0.7421 GB, free: 26.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.636, allocations: 105.6 kB / 0.7422 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.6361, allocations: 27.03 kB / 0.7422 GB, free: 26.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6361, allocations: 7.922 kB / 0.7422 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005321/0.6414, allocations: 2.143 MB / 0.7443 GB, free: 26.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6415, allocations: 0 / 0.7443 GB, free: 26.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/0.6453, allocations: 1.166 MB / 0.7454 GB, free: 26.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.6459, allocations: 104.3 kB / 0.7455 GB, free: 26.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008427/0.6544, allocations: 5.2 MB / 0.7506 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6555, allocations: 93.75 kB / 0.7507 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.6556, allocations: 27.06 kB / 0.7507 GB, free: 24.57 MB / 474.7 MB 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.0005366/0.6561, allocations: 314.4 kB / 0.751 GB, free: 24.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6563, allocations: 86.06 kB / 0.7511 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.661, allocations: 2.11 MB / 0.7532 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.661, allocations: 7.812 kB / 0.7532 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.661, allocations: 11.84 kB / 0.7532 GB, free: 24.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.6611, allocations: 3.797 kB / 0.7532 GB, free: 24.13 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.006137/0.6672, allocations: 3.475 MB / 0.7566 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6672, allocations: 0 / 0.7566 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.6677, allocations: 89.95 kB / 0.7567 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002729/0.6705, allocations: 0.9888 MB / 0.7576 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.6706, allocations: 18.48 kB / 0.7576 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005975/0.6765, allocations: 4.058 MB / 0.7616 GB, free: 21.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6766, allocations: 3.875 kB / 0.7616 GB, free: 21.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.6824, allocations: 2.792 MB / 0.7643 GB, free: 20.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.6828, allocations: 192.1 kB / 0.7645 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.683, allocations: 14.83 kB / 0.7645 GB, free: 20.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.6837, allocations: 69.38 kB / 0.7646 GB, free: 20.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.6841, allocations: 116.8 kB / 0.7647 GB, free: 20.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.6841, allocations: 27.23 kB / 0.7647 GB, free: 20.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000742/0.6849, allocations: 0.5337 MB / 0.7653 GB, free: 20.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.6849, allocations: 4.031 kB / 0.7653 GB, free: 20.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001471/0.6864, allocations: 0.5144 MB / 0.7658 GB, free: 19.95 MB / 474.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 () * 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.006162/0.6925, allocations: 3.505 MB / 0.7692 GB, free: 18.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.6995, allocations: 3.101 MB / 0.7722 GB, free: 33.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6995, allocations: 0 / 0.7722 GB, free: 33.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.7021, allocations: 1.258 MB / 0.7734 GB, free: 32.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.703, allocations: 59.5 kB / 0.7735 GB, free: 32.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.7075, allocations: 3.954 MB / 0.7774 GB, free: 29.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.7079, allocations: 1.028 MB / 0.7784 GB, free: 29.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003722/0.7083, allocations: 68.09 kB / 0.7784 GB, free: 29.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.7087, allocations: 339.3 kB / 0.7788 GB, free: 28.98 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7087, allocations: 0 / 0.7788 GB, free: 28.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.7506, allocations: 25.94 MB / 0.8041 GB, free: 6.316 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.7509, allocations: 224.9 kB / 0.8043 GB, free: 6.074 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.238, allocations: 0 / 0.8043 GB, free: 6.074 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)