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.001069/0.001069, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.245/1.245, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 94.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6215/0.6215, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.013e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 69.34 MB / 0.5481 GB, free: 20.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.42, allocations: 99.07 MB / 0.6448 GB, free: 1.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4204, allocations: 79.95 kB / 0.6449 GB, free: 1.383 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06147/0.4818, allocations: 22.69 MB / 0.6671 GB, free: 10.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4819, allocations: 0 / 0.6671 GB, free: 10.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.939e-05/0.4819, allocations: 16 kB / 0.6671 GB, free: 10.49 MB / 490.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.003691/0.4856, allocations: 1.338 MB / 0.6684 GB, free: 9.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4857, allocations: 15.97 kB / 0.6684 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002698/0.486, allocations: 110.5 kB / 0.6685 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.4884, allocations: 406.2 kB / 0.6689 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.4897, allocations: 0.6449 MB / 0.6695 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.49, allocations: 239.8 kB / 0.6698 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.4902, allocations: 75.86 kB / 0.6698 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4917, allocations: 0.7644 MB / 0.6706 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4917, allocations: 0 / 0.6706 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.4918, allocations: 24 kB / 0.6706 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4918, allocations: 16 kB / 0.6706 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.493, allocations: 0.63 MB / 0.6712 GB, free: 6.098 MB / 490.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.005708/0.4987, allocations: 3.321 MB / 0.6745 GB, free: 2.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00792/0.5066, allocations: 2.298 MB / 0.6767 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2928/0.7994, allocations: 408.4 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.7996, allocations: 10.66 kB / 0.6771 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.7996, allocations: 41.3 kB / 0.6772 GB, free: 108 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/0.7997, allocations: 0 / 0.6772 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005389/0.8051, allocations: 1.748 MB / 0.6789 GB, free: 107.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.8051, allocations: 85.27 kB / 0.679 GB, free: 107.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.8062, allocations: 0.6743 MB / 0.6796 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.8062, allocations: 40.92 kB / 0.6797 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.8065, allocations: 414.9 kB / 0.6801 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.8068, allocations: 254.3 kB / 0.6803 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.8068, allocations: 17.56 kB / 0.6803 GB, free: 107.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.8069, allocations: 337 kB / 0.6806 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.8075, allocations: 351.4 kB / 0.681 GB, free: 107.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.8082, allocations: 444 kB / 0.6814 GB, free: 107 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.8089, allocations: 391.8 kB / 0.6818 GB, free: 107 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8089, allocations: 0 / 0.6818 GB, free: 107 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006027/0.815, allocations: 1.996 MB / 0.6837 GB, free: 106.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.8151, allocations: 0.6213 MB / 0.6843 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8151, allocations: 2.234 kB / 0.6843 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/0.8196, allocations: 1.013 MB / 0.6853 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.8202, allocations: 108.8 kB / 0.6854 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/0.8276, allocations: 4.547 MB / 0.6899 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8286, allocations: 112.6 kB / 0.69 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.8287, allocations: 27.53 kB / 0.69 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8287, allocations: 3.688 kB / 0.69 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005079/0.8338, allocations: 1.885 MB / 0.6918 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8338, allocations: 3.656 kB / 0.6918 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.8376, allocations: 1.014 MB / 0.6928 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.8381, allocations: 102.6 kB / 0.6929 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007282/0.8454, allocations: 4.535 MB / 0.6974 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.8464, allocations: 104.7 kB / 0.6975 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.8465, allocations: 27.89 kB / 0.6975 GB, free: 101 MB / 490.7 MB 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 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.0002232/0.8467, allocations: 143.3 kB / 0.6976 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.8468, allocations: 88.45 kB / 0.6977 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.8512, allocations: 1.842 MB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8512, allocations: 13.28 kB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8512, allocations: 10.5 kB / 0.6995 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.8512, allocations: 10.33 kB / 0.6995 GB, free: 100.2 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.005758/0.857, allocations: 3.201 MB / 0.7027 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.857, allocations: 3.781 kB / 0.7027 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.8575, allocations: 80.56 kB / 0.7027 GB, free: 98.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/0.8602, allocations: 0.8355 MB / 0.7036 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.8603, allocations: 15.94 kB / 0.7036 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/0.8653, allocations: 3.524 MB / 0.707 GB, free: 96.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8653, allocations: 4.141 kB / 0.707 GB, free: 96.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.8701, allocations: 2.432 MB / 0.7094 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.8704, allocations: 186.8 kB / 0.7096 GB, free: 94.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.8705, allocations: 15.61 kB / 0.7096 GB, free: 94.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.8713, allocations: 69.08 kB / 0.7096 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.8715, allocations: 120 kB / 0.7098 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.8716, allocations: 23 kB / 0.7098 GB, free: 93.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005733/0.8722, allocations: 0.5177 MB / 0.7103 GB, free: 93.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8722, allocations: 4 kB / 0.7103 GB, free: 93.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001216/0.8734, allocations: 0.516 MB / 0.7108 GB, free: 92.87 MB / 490.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 () * 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.005099/0.8785, allocations: 3.158 MB / 0.7139 GB, free: 89.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.8846, allocations: 2.833 MB / 0.7166 GB, free: 87.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8846, allocations: 384 / 0.7166 GB, free: 87.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.887, allocations: 1.148 MB / 0.7178 GB, free: 86.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.8876, allocations: 70.59 kB / 0.7178 GB, free: 86.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.8911, allocations: 1.777 MB / 0.7196 GB, free: 84.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.8916, allocations: 1.034 MB / 0.7206 GB, free: 83.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.8921, allocations: 117.8 kB / 0.7207 GB, free: 83.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.8925, allocations: 323.2 kB / 0.721 GB, free: 83.19 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8925, allocations: 0 / 0.721 GB, free: 83.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.9338, allocations: 27.56 MB / 0.7479 GB, free: 57.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.934, allocations: 195.1 kB / 0.7481 GB, free: 57.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.62, allocations: 0 / 0.7481 GB, free: 57.73 MB / 490.7 MB (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)