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.001562/0.001562, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.001077/0.001077, allocations: 92.97 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4374/0.4374, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.608e-05, allocations: 0 / 485.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 69.35 MB / 0.5414 GB, free: 6.836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.5117, allocations: 98.41 MB / 0.6375 GB, free: 1.176 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.512, allocations: 80.8 kB / 0.6376 GB, free: 1.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05884/0.5708, allocations: 22.4 MB / 0.6595 GB, free: 10.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5708, allocations: 0 / 0.6595 GB, free: 10.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.496e-05/0.5709, allocations: 19.94 kB / 0.6595 GB, free: 10.72 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.003032/0.5739, allocations: 1.329 MB / 0.6608 GB, free: 9.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.574, allocations: 8.031 kB / 0.6608 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.5762, allocations: 406.3 kB / 0.6612 GB, free: 8.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5772, allocations: 0.6527 MB / 0.6618 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.5775, allocations: 214.1 kB / 0.662 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5776, allocations: 47.89 kB / 0.6621 GB, free: 7.957 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/0.5786, allocations: 0.5927 MB / 0.6627 GB, free: 7.363 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5799, allocations: 0.6797 MB / 0.6633 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5799, allocations: 0 / 0.6633 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.58, allocations: 0 / 0.6633 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.58, allocations: 16 kB / 0.6633 GB, free: 6.652 MB / 474.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.005199/0.5852, allocations: 3.208 MB / 0.6665 GB, free: 3.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.5931, allocations: 2.266 MB / 0.6687 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.5937, allocations: 391.1 kB / 0.6691 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/0.5938, allocations: 24.75 kB / 0.6691 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5939, allocations: 43.3 kB / 0.6691 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.5939, allocations: 0 / 0.6691 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of matching and sorting (n=72): time 0.004652/0.5985, allocations: 1.684 MB / 0.6708 GB, free: 14.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5986, allocations: 85.89 kB / 0.6709 GB, free: 14.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.5994, allocations: 0.633 MB / 0.6715 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.107e-05/0.5995, allocations: 30.77 kB / 0.6715 GB, free: 14.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.5998, allocations: 416.2 kB / 0.6719 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.6, allocations: 248.2 kB / 0.6721 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.6001, allocations: 4 kB / 0.6721 GB, free: 13.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6002, allocations: 333.9 kB / 0.6725 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.6007, allocations: 341.5 kB / 0.6728 GB, free: 12.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.6013, allocations: 425.9 kB / 0.6732 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.6019, allocations: 370 kB / 0.6735 GB, free: 11.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6019, allocations: 0 / 0.6735 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005255/0.6071, allocations: 1.923 MB / 0.6754 GB, free: 9.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.6073, allocations: 0.6204 MB / 0.676 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6074, allocations: 3.953 kB / 0.676 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.6114, allocations: 0.993 MB / 0.677 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.612, allocations: 111.8 kB / 0.6771 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.6198, allocations: 4.378 MB / 0.6814 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6209, allocations: 99.31 kB / 0.6815 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.6209, allocations: 28 kB / 0.6815 GB, free: 3.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.621, allocations: 1.312 kB / 0.6815 GB, free: 3.566 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0051/0.6261, allocations: 1.804 MB / 0.6833 GB, free: 1.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6261, allocations: 4 kB / 0.6833 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/0.63, allocations: 0.9899 MB / 0.6842 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.6305, allocations: 103.8 kB / 0.6843 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.6381, allocations: 4.376 MB / 0.6886 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.639, allocations: 79.39 kB / 0.6887 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.6391, allocations: 23.95 kB / 0.6887 GB, free: 12.04 MB / 0.4948 GB 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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.0003054/0.6394, allocations: 128.2 kB / 0.6888 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004478/0.6439, allocations: 1.702 MB / 0.6905 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.644, allocations: 95.78 kB / 0.6906 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.6486, allocations: 1.772 MB / 0.6923 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6486, allocations: 8 kB / 0.6923 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6486, allocations: 4 kB / 0.6923 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6486, allocations: 3.984 kB / 0.6923 GB, free: 8.293 MB / 0.4948 GB 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.006202/0.6548, allocations: 3.053 MB / 0.6953 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6549, allocations: 0 / 0.6953 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.6554, allocations: 83.89 kB / 0.6954 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/0.6582, allocations: 0.8283 MB / 0.6962 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.6583, allocations: 6.203 kB / 0.6962 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/0.6639, allocations: 3.441 MB / 0.6996 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6639, allocations: 0 / 0.6996 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/0.6691, allocations: 2.357 MB / 0.7019 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.6694, allocations: 183.8 kB / 0.702 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.6696, allocations: 4 kB / 0.702 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.6703, allocations: 63.89 kB / 0.7021 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.6706, allocations: 116.4 kB / 0.7022 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.6707, allocations: 16 kB / 0.7022 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005882/0.6712, allocations: 487.2 kB / 0.7027 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6713, allocations: 4 kB / 0.7027 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001309/0.6726, allocations: 483.1 kB / 0.7032 GB, free: 12.93 MB / 0.5105 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 () * 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.005619/0.6782, allocations: 3.083 MB / 0.7062 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006232/0.6844, allocations: 2.736 MB / 0.7088 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.6845, allocations: 4 kB / 0.7088 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.687, allocations: 1.116 MB / 0.7099 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.6877, allocations: 52.7 kB / 0.71 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.6913, allocations: 1.724 MB / 0.7117 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.6919, allocations: 1.031 MB / 0.7127 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005502/0.6925, allocations: 119.2 kB / 0.7128 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/0.6929, allocations: 323.3 kB / 0.7131 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.6929, allocations: 0 / 0.7131 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.7428, allocations: 25.5 MB / 0.738 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.743, allocations: 151.6 kB / 0.7381 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.511, allocations: 1.875 kB / 0.7381 GB, free: 9.047 MB / 0.5417 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)