Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",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.001037/0.001037, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.00108/0.00108, allocations: 89.3 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08518/0.08518, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3131/0.3131, allocations: 78.07 MB / 450.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.098e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5495/0.7017, allocations: 110.5 MB / 0.6898 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.7021, allocations: 81.02 kB / 0.6899 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.8238, allocations: 44.73 MB / 0.7336 GB, free: 9.637 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8238, allocations: 4.188 kB / 0.7336 GB, free: 9.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.824, allocations: 51.88 kB / 0.7336 GB, free: 9.582 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.005119/0.8291, allocations: 2.038 MB / 0.7356 GB, free: 7.617 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.8292, allocations: 11.97 kB / 0.7356 GB, free: 7.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.8312, allocations: 449.9 kB / 0.736 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.8336, allocations: 1.323 MB / 0.7373 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004619/0.8341, allocations: 339.8 kB / 0.7377 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.8343, allocations: 79.89 kB / 0.7377 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002097/0.8364, allocations: 1.169 MB / 0.7389 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.8386, allocations: 1.202 MB / 0.7401 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.8386, allocations: 0 / 0.7401 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8387, allocations: 0 / 0.7401 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.8387, allocations: 28 kB / 0.7401 GB, free: 4.18 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.01022/0.849, allocations: 5.75 MB / 0.7457 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/0.8633, allocations: 4.554 MB / 0.7501 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.8647, allocations: 0.6589 MB / 0.7508 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.8648, allocations: 21.3 kB / 0.7508 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.8649, allocations: 47.81 kB / 0.7509 GB, free: 10.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.977e-06/0.8649, allocations: 0 / 0.7509 GB, free: 10.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01201/0.8769, allocations: 5.028 MB / 0.7558 GB, free: 5.191 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.8771, allocations: 222.9 kB / 0.756 GB, free: 4.922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.8794, allocations: 1.262 MB / 0.7572 GB, free: 3.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.8797, allocations: 25.7 kB / 0.7572 GB, free: 3.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.8804, allocations: 0.7414 MB / 0.758 GB, free: 2.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005582/0.881, allocations: 437.5 kB / 0.7584 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.8811, allocations: 0 / 0.7584 GB, free: 2.441 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8812, allocations: 361.9 kB / 0.7587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.8823, allocations: 0.6367 MB / 0.7593 GB, free: 1.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.8835, allocations: 0.8151 MB / 0.7601 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.8848, allocations: 0.7165 MB / 0.7608 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8848, allocations: 4 kB / 0.7608 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006822/0.8916, allocations: 2.819 MB / 0.7636 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.8923, allocations: 1.036 MB / 0.7646 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.8923, allocations: 8 kB / 0.7646 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005587/0.8979, allocations: 1.735 MB / 0.7663 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.899, allocations: 191.7 kB / 0.7665 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.9046, allocations: 3.134 MB / 0.7695 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/0.9074, allocations: 195.8 kB / 0.7697 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.9076, allocations: 51.98 kB / 0.7698 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9076, allocations: 8 kB / 0.7698 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006338/0.914, allocations: 2.558 MB / 0.7723 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.914, allocations: 4 kB / 0.7723 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0056/0.9196, allocations: 1.692 MB / 0.7739 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.9207, allocations: 183.7 kB / 0.7741 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/0.9281, allocations: 4.368 MB / 0.7784 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.931, allocations: 187.8 kB / 0.7786 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.9312, allocations: 55.98 kB / 0.7786 GB, free: 13.3 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.9317, allocations: 129 kB / 0.7787 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007869/0.9396, allocations: 2.787 MB / 0.7815 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/0.9403, allocations: 173.9 kB / 0.7816 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007623/0.9479, allocations: 2.9 MB / 0.7845 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.948, allocations: 12 kB / 0.7845 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.948, allocations: 4 kB / 0.7845 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.948, allocations: 3.984 kB / 0.7845 GB, free: 7.242 MB / 0.5105 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.0106/0.9586, allocations: 5.137 MB / 0.7895 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9586, allocations: 0 / 0.7895 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/0.9614, allocations: 0.4995 MB / 0.79 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/0.9645, allocations: 0.9869 MB / 0.791 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.9647, allocations: 19.94 kB / 0.791 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.9758, allocations: 8.583 MB / 0.7994 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9758, allocations: 0 / 0.7994 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009588/0.9854, allocations: 3.86 MB / 0.8031 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/0.9863, allocations: 282.9 kB / 0.8034 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.9866, allocations: 19.94 kB / 0.8034 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.9884, allocations: 199.8 kB / 0.8036 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/0.9891, allocations: 205 kB / 0.8038 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.9892, allocations: 36.16 kB / 0.8038 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001525/0.9907, allocations: 0.9542 MB / 0.8048 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9907, allocations: 0 / 0.8048 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002195/0.9929, allocations: 0.5663 MB / 0.8053 GB, free: 1.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008862/1.002, allocations: 4.6 MB / 0.8098 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.013, allocations: 4.43 MB / 0.8141 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.013, allocations: 0 / 0.8141 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00511/1.018, allocations: 1.997 MB / 0.8161 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.019, allocations: 167.4 kB / 0.8162 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/1.027, allocations: 3.112 MB / 0.8193 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.028, allocations: 1.375 MB / 0.8206 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00138/1.03, allocations: 318.6 kB / 0.8209 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/1.031, allocations: 0.6555 MB / 0.8216 GB, free: 296 kB / 0.5417 GB Notification: Performance of SimCode: time 9.91e-07/1.031, allocations: 7.875 kB / 0.8216 GB, free: 288 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.422/1.453, allocations: 45.58 MB / 0.8661 GB, free: 171.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.453, allocations: 148 kB / 0.8662 GB, free: 170.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.227/5.68, allocations: 5.219 kB / 0.8662 GB, free: 170.9 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)