Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.Network1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.009823/0.009823, allocations: 169.5 kB / 15.11 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.571/1.571, 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.001177/0.001177, allocations: 99.17 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5539/0.5539, allocations: 78.52 MB / 419.8 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 15.98 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4636, allocations: 69.35 MB / 0.5558 GB, free: 38.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.6075, allocations: 98.94 MB / 0.6524 GB, free: 7.414 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.6078, allocations: 87.95 kB / 0.6525 GB, free: 7.328 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06092/0.6687, allocations: 22.17 MB / 0.6742 GB, free: 1.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6688, allocations: 0 / 0.6742 GB, free: 1.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.287e-05/0.6689, allocations: 16 kB / 0.6742 GB, free: 1.004 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004776/0.6737, allocations: 1.476 MB / 0.6756 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6738, allocations: 8.031 kB / 0.6756 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003309/0.6741, allocations: 98.52 kB / 0.6757 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.6766, allocations: 390.4 kB / 0.6761 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.6781, allocations: 0.6174 MB / 0.6767 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.6784, allocations: 146.8 kB / 0.6768 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.6786, allocations: 63.95 kB / 0.6769 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.6802, allocations: 0.8227 MB / 0.6777 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6802, allocations: 0 / 0.6777 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.6803, allocations: 20 kB / 0.6777 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6803, allocations: 12 kB / 0.6777 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.6817, allocations: 0.7313 MB / 0.6785 GB, free: 12.5 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.005349/0.6871, allocations: 2.876 MB / 0.6813 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.7005, allocations: 3.957 MB / 0.6851 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.7007, allocations: 12.55 kB / 0.6851 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.7007, allocations: 35.12 kB / 0.6852 GB, free: 5.438 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.507e-06/0.7007, allocations: 0 / 0.6852 GB, free: 5.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01249/0.7132, allocations: 3.951 MB / 0.689 GB, free: 1.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.7133, allocations: 81.67 kB / 0.6891 GB, free: 1.316 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.7147, allocations: 0.6799 MB / 0.6898 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.7149, allocations: 37.7 kB / 0.6898 GB, free: 0.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.7152, allocations: 388.6 kB / 0.6902 GB, free: 204 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.7155, allocations: 232.8 kB / 0.6904 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.7156, allocations: 12 kB / 0.6904 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7158, allocations: 334 kB / 0.6907 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009944/0.7168, allocations: 473.8 kB / 0.6912 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009927/0.7178, allocations: 0.552 MB / 0.6917 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7189, allocations: 0.5004 MB / 0.6922 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7189, allocations: 3.781 kB / 0.6922 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00767/0.7266, allocations: 2.552 MB / 0.6947 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002826/0.7269, allocations: 0.6202 MB / 0.6953 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7269, allocations: 3.938 kB / 0.6953 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/0.7318, allocations: 1.241 MB / 0.6965 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.7326, allocations: 107.9 kB / 0.6966 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.7447, allocations: 5.589 MB / 0.7021 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.746, allocations: 119.4 kB / 0.7022 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.7461, allocations: 24 kB / 0.7022 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7461, allocations: 4 kB / 0.7022 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007353/0.7535, allocations: 2.422 MB / 0.7046 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7536, allocations: 0 / 0.7046 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004996/0.7586, allocations: 1.246 MB / 0.7058 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.7593, allocations: 99.89 kB / 0.7059 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.7714, allocations: 5.57 MB / 0.7113 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.7726, allocations: 115.3 kB / 0.7115 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.7727, allocations: 20.16 kB / 0.7115 GB, free: 10 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.000619/0.7733, allocations: 299.9 kB / 0.7118 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.7735, allocations: 86.97 kB / 0.7118 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006593/0.7801, allocations: 2.403 MB / 0.7142 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.7802, allocations: 8 kB / 0.7142 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7802, allocations: 8 kB / 0.7142 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.7802, allocations: 7.938 kB / 0.7142 GB, free: 7.156 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.008621/0.7888, allocations: 3.678 MB / 0.7178 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.7889, allocations: 4.031 kB / 0.7178 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.7896, allocations: 87.84 kB / 0.7179 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/0.793, allocations: 1.077 MB / 0.7189 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.7932, allocations: 16 kB / 0.719 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008324/0.8015, allocations: 4.28 MB / 0.7231 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.8016, allocations: 3.984 kB / 0.7231 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007988/0.8096, allocations: 3.091 MB / 0.7262 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.8101, allocations: 183.9 kB / 0.7263 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.8102, allocations: 12 kB / 0.7263 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.8111, allocations: 83.94 kB / 0.7264 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.8115, allocations: 124.3 kB / 0.7265 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.8115, allocations: 16 kB / 0.7266 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007162/0.8123, allocations: 0.5264 MB / 0.7271 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8123, allocations: 4 kB / 0.7271 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001423/0.8137, allocations: 499.3 kB / 0.7276 GB, free: 9.191 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008335/0.822, allocations: 3.822 MB / 0.7313 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007915/0.83, allocations: 3.158 MB / 0.7344 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8301, allocations: 4 kB / 0.7344 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.8332, allocations: 1.267 MB / 0.7356 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.8341, allocations: 55.31 kB / 0.7357 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.8393, allocations: 3.732 MB / 0.7393 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.8399, allocations: 0.9945 MB / 0.7403 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004667/0.8404, allocations: 68.69 kB / 0.7403 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.8408, allocations: 301 kB / 0.7406 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of SimCode: time 1.022e-06/0.8409, allocations: 0 / 0.7406 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.8866, allocations: 25.87 MB / 0.7659 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.8868, allocations: 211.2 kB / 0.7661 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.6, allocations: 0 / 0.7661 GB, free: 1.598 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)