Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,fileNamePrefix="OpenIPSL_dev_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_dev_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 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 174.6 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.153/1.153, 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.0008518/0.0008519, allocations: 92.19 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4221/0.4221, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.083e-05, allocations: 0 / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3343, allocations: 69.5 MB / 0.5492 GB, free: 19.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.4555, allocations: 100 MB / 0.6469 GB, free: 15.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4557, allocations: 79.95 kB / 0.647 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05959/0.5153, allocations: 23.16 MB / 0.6696 GB, free: 8.035 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5154, allocations: 0 / 0.6696 GB, free: 8.035 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.653e-05/0.5154, allocations: 17.31 kB / 0.6696 GB, free: 8.02 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003089/0.5185, allocations: 1.321 MB / 0.6709 GB, free: 6.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5186, allocations: 11.97 kB / 0.6709 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5187, allocations: 106.5 kB / 0.671 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.5209, allocations: 406.2 kB / 0.6714 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5219, allocations: 0.6293 MB / 0.672 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.5221, allocations: 218.1 kB / 0.6722 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5223, allocations: 67.86 kB / 0.6723 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5235, allocations: 0.737 MB / 0.673 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5235, allocations: 4 kB / 0.673 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.5236, allocations: 23.94 kB / 0.673 GB, free: 4.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5236, allocations: 12 kB / 0.6731 GB, free: 4.359 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.5246, allocations: 0.6144 MB / 0.6737 GB, free: 3.742 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.005005/0.5296, allocations: 3.15 MB / 0.6767 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3065/0.8361, allocations: 3.72 MB / 0.6804 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.8372, allocations: 414.3 kB / 0.6808 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.8374, allocations: 9.375 kB / 0.6808 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.8374, allocations: 44.61 kB / 0.6808 GB, free: 106.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.557e-06/0.8374, allocations: 0 / 0.6808 GB, free: 106.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006376/0.8438, allocations: 2 MB / 0.6828 GB, free: 106.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.8439, allocations: 84.77 kB / 0.6828 GB, free: 106.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.8452, allocations: 0.6799 MB / 0.6835 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.8453, allocations: 39.48 kB / 0.6835 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.8456, allocations: 397.5 kB / 0.6839 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.8458, allocations: 250.4 kB / 0.6842 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.8459, allocations: 12.78 kB / 0.6842 GB, free: 106.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.846, allocations: 335 kB / 0.6845 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.8465, allocations: 353.2 kB / 0.6848 GB, free: 105.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.8471, allocations: 449.2 kB / 0.6853 GB, free: 105.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.8477, allocations: 389.4 kB / 0.6856 GB, free: 105.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8477, allocations: 4.031 kB / 0.6856 GB, free: 105.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.005673/0.8534, allocations: 2.243 MB / 0.6878 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.8535, allocations: 0.7035 MB / 0.6885 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8535, allocations: 3.719 kB / 0.6885 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/0.8572, allocations: 1.059 MB / 0.6896 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.8577, allocations: 113.3 kB / 0.6897 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.8656, allocations: 4.751 MB / 0.6943 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.8666, allocations: 123.3 kB / 0.6944 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.8667, allocations: 26.11 kB / 0.6944 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.8667, allocations: 3.438 kB / 0.6944 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005465/0.8722, allocations: 2.129 MB / 0.6965 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.8722, allocations: 6.781 kB / 0.6965 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/0.8757, allocations: 1.064 MB / 0.6976 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.8762, allocations: 104.1 kB / 0.6977 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007661/0.8839, allocations: 4.72 MB / 0.7023 GB, free: 99.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009885/0.8849, allocations: 122.8 kB / 0.7024 GB, free: 99.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/0.885, allocations: 24.38 kB / 0.7024 GB, free: 99.06 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false 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 () * 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.0002452/0.8852, allocations: 148.3 kB / 0.7026 GB, free: 98.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.8854, allocations: 89.39 kB / 0.7026 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/0.8904, allocations: 2.102 MB / 0.7047 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8904, allocations: 6.969 kB / 0.7047 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.8904, allocations: 4.188 kB / 0.7047 GB, free: 98.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.8905, allocations: 7.188 kB / 0.7047 GB, free: 98.25 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.006359/0.8968, allocations: 3.426 MB / 0.7081 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8968, allocations: 0 / 0.7081 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.8973, allocations: 82.2 kB / 0.7081 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/0.8998, allocations: 0.8857 MB / 0.709 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.8999, allocations: 16 kB / 0.709 GB, free: 94.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.9052, allocations: 3.647 MB / 0.7126 GB, free: 91.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.9053, allocations: 4 kB / 0.7126 GB, free: 91.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/0.9107, allocations: 2.671 MB / 0.7152 GB, free: 88.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.911, allocations: 187.4 kB / 0.7154 GB, free: 88.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.9112, allocations: 16 kB / 0.7154 GB, free: 88.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/0.912, allocations: 85.2 kB / 0.7155 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.9123, allocations: 137.9 kB / 0.7156 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.9124, allocations: 16 kB / 0.7156 GB, free: 88.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006318/0.913, allocations: 0.5226 MB / 0.7161 GB, free: 87.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.913, allocations: 0 / 0.7161 GB, free: 87.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001429/0.9145, allocations: 0.5156 MB / 0.7166 GB, free: 87.48 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: 1 (breaker.Open) * Number of discrete 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.005705/0.9202, allocations: 3.402 MB / 0.72 GB, free: 84.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.9262, allocations: 2.955 MB / 0.7228 GB, free: 81.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9262, allocations: 4 kB / 0.7228 GB, free: 81.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.9286, allocations: 1.194 MB / 0.724 GB, free: 80.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.9291, allocations: 69.89 kB / 0.7241 GB, free: 80.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.9325, allocations: 1.722 MB / 0.7258 GB, free: 78.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.9329, allocations: 1.019 MB / 0.7268 GB, free: 77.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005539/0.9335, allocations: 115.6 kB / 0.7269 GB, free: 77.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.9338, allocations: 315.7 kB / 0.7272 GB, free: 77.57 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.9338, allocations: 0 / 0.7272 GB, free: 77.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04513/0.979, allocations: 28.55 MB / 0.755 GB, free: 50.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.9792, allocations: 195.6 kB / 0.7552 GB, free: 49.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.715, allocations: 0 / 0.7552 GB, free: 49.85 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)