Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",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.005081/0.00508, allocations: 170.1 kB / 15.11 MB, free: 5.973 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.468/1.468, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008558/0.0008559, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06762/0.06762, allocations: 12.2 MB / 330 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4184/0.4184, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004717, allocations: 20.94 kB / 0.528 GB, free: 35.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 69.24 MB / 0.5956 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4432, allocations: 100.9 MB / 0.6942 GB, free: 98.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.4434, allocations: 87.59 kB / 0.6943 GB, free: 98.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05407/0.4975, allocations: 22.37 MB / 0.7162 GB, free: 92.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4975, allocations: 4 kB / 0.7162 GB, free: 92.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.853e-05/0.4976, allocations: 16.16 kB / 0.7162 GB, free: 92.88 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00426/0.5019, allocations: 1.533 MB / 0.7177 GB, free: 91.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5019, allocations: 11.83 kB / 0.7177 GB, free: 91.82 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.5021, allocations: 106.2 kB / 0.7178 GB, free: 91.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.5042, allocations: 404.4 kB / 0.7182 GB, free: 91.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.5052, allocations: 0.647 MB / 0.7188 GB, free: 91.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5054, allocations: 221.1 kB / 0.719 GB, free: 90.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5055, allocations: 61.53 kB / 0.7191 GB, free: 90.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5068, allocations: 0.8727 MB / 0.7199 GB, free: 90.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5068, allocations: 0 / 0.7199 GB, free: 90.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.5069, allocations: 23.78 kB / 0.7199 GB, free: 90.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.5069, allocations: 14.91 kB / 0.72 GB, free: 90.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5082, allocations: 0.7709 MB / 0.7207 GB, free: 89.91 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.004298/0.5125, allocations: 3.151 MB / 0.7238 GB, free: 87.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.5247, allocations: 3.956 MB / 0.7277 GB, free: 83.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.5249, allocations: 12.56 kB / 0.7277 GB, free: 83.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5249, allocations: 51.06 kB / 0.7277 GB, free: 83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.5249, allocations: 0 / 0.7277 GB, free: 83 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.01249/0.5374, allocations: 4.264 MB / 0.7319 GB, free: 78.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5375, allocations: 89.61 kB / 0.732 GB, free: 78.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5385, allocations: 0.6878 MB / 0.7326 GB, free: 77.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.5386, allocations: 45.7 kB / 0.7327 GB, free: 77.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.5388, allocations: 408.3 kB / 0.7331 GB, free: 77.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.539, allocations: 244.4 kB / 0.7333 GB, free: 77.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.5391, allocations: 12 kB / 0.7333 GB, free: 77.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.5391, allocations: 337.9 kB / 0.7336 GB, free: 76.81 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.54, allocations: 489.8 kB / 0.7341 GB, free: 76.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.5409, allocations: 0.5724 MB / 0.7347 GB, free: 75.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.5418, allocations: 0.5222 MB / 0.7352 GB, free: 75.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.5418, allocations: 0 / 0.7352 GB, free: 75.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006828/0.5486, allocations: 2.63 MB / 0.7377 GB, free: 72.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.5488, allocations: 0.7069 MB / 0.7384 GB, free: 71.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5488, allocations: 4 kB / 0.7384 GB, free: 71.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00438/0.5532, allocations: 1.283 MB / 0.7397 GB, free: 70.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.5538, allocations: 107.8 kB / 0.7398 GB, free: 70.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.5644, allocations: 5.878 MB / 0.7455 GB, free: 64.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5657, allocations: 127.3 kB / 0.7456 GB, free: 64.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.5658, allocations: 24 kB / 0.7457 GB, free: 64.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.5658, allocations: 0 / 0.7457 GB, free: 64.23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006704/0.5725, allocations: 2.5 MB / 0.7481 GB, free: 61.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5726, allocations: 0 / 0.7481 GB, free: 61.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/0.5768, allocations: 1.275 MB / 0.7494 GB, free: 60.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.5775, allocations: 103.8 kB / 0.7495 GB, free: 60.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.5881, allocations: 5.88 MB / 0.7552 GB, free: 54.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5893, allocations: 119.3 kB / 0.7553 GB, free: 54.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5895, allocations: 20.09 kB / 0.7553 GB, free: 54.18 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005694/0.5901, allocations: 303.9 kB / 0.7556 GB, free: 53.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.5903, allocations: 90.88 kB / 0.7557 GB, free: 53.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005997/0.5963, allocations: 2.47 MB / 0.7581 GB, free: 51.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5963, allocations: 8 kB / 0.7581 GB, free: 51.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.5964, allocations: 8 kB / 0.7581 GB, free: 51.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.5964, allocations: 3.984 kB / 0.7581 GB, free: 51.28 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.007612/0.604, allocations: 3.811 MB / 0.7619 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.604, allocations: 0 / 0.7619 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.6046, allocations: 91.89 kB / 0.7619 GB, free: 47.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/0.6077, allocations: 1.115 MB / 0.763 GB, free: 46.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.6078, allocations: 12 kB / 0.763 GB, free: 46.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007383/0.6151, allocations: 4.585 MB / 0.7675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6152, allocations: 0 / 0.7675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/0.6223, allocations: 3.183 MB / 0.7706 GB, free: 38.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.6227, allocations: 199.7 kB / 0.7708 GB, free: 37.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6229, allocations: 12 kB / 0.7708 GB, free: 37.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.6239, allocations: 83.94 kB / 0.7709 GB, free: 37.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.6242, allocations: 128.3 kB / 0.771 GB, free: 37.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.6243, allocations: 16 kB / 0.7711 GB, free: 37.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007409/0.625, allocations: 0.5342 MB / 0.7716 GB, free: 37.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.625, allocations: 0 / 0.7716 GB, free: 37.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001632/0.6267, allocations: 0.5149 MB / 0.7721 GB, free: 36.69 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: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00693/0.6336, allocations: 3.909 MB / 0.7759 GB, free: 32.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007589/0.6412, allocations: 3.313 MB / 0.7791 GB, free: 29.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6413, allocations: 0 / 0.7791 GB, free: 29.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/0.6442, allocations: 1.326 MB / 0.7804 GB, free: 27.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.6452, allocations: 67.14 kB / 0.7805 GB, free: 27.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.6496, allocations: 4.047 MB / 0.7844 GB, free: 23.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.65, allocations: 1.018 MB / 0.7854 GB, free: 22.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.6504, allocations: 64.86 kB / 0.7855 GB, free: 22.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.6508, allocations: 319.3 kB / 0.7858 GB, free: 22.3 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6508, allocations: 0 / 0.7858 GB, free: 22.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0429/0.6937, allocations: 26.95 MB / 0.8121 GB, free: 11.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.694, allocations: 224.5 kB / 0.8123 GB, free: 11.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.294, allocations: 3.875 kB / 0.8123 GB, free: 11.31 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)