Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.Network3,fileNamePrefix="OpenIPSL_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_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 4.0.0+maint.om/package.mo): time 0.007169/0.007169, allocations: 171 kB / 15.11 MB, free: 5.977 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.374/1.374, allocations: 223.2 MB / 239 MB, free: 1.781 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.001006/0.001006, allocations: 99.41 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5017/0.5017, allocations: 78.51 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 12 kB / 499.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4139, allocations: 69.35 MB / 0.5558 GB, free: 39.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5531, allocations: 109.7 MB / 0.6629 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5534, allocations: 87.95 kB / 0.663 GB, free: 12.58 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.6823, allocations: 46.09 MB / 0.708 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6824, allocations: 0 / 0.708 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001652/0.6826, allocations: 43.94 kB / 0.708 GB, free: 14.25 MB / 0.5105 GB 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.007445/0.69, allocations: 2.586 MB / 0.7106 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6901, allocations: 8.031 kB / 0.7106 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005374/0.6906, allocations: 172.8 kB / 0.7107 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.6929, allocations: 449.1 kB / 0.7112 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/0.6968, allocations: 1.473 MB / 0.7126 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004762/0.6973, allocations: 389.5 kB / 0.713 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.6976, allocations: 119.9 kB / 0.7131 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.7009, allocations: 1.584 MB / 0.7146 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.7009, allocations: 4 kB / 0.7146 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.7011, allocations: 44 kB / 0.7147 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.7011, allocations: 28 kB / 0.7147 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.7045, allocations: 1.539 MB / 0.7162 GB, free: 5.621 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 preOpt removeSimpleEquations (simulation): time 0.01158/0.7161, allocations: 5.943 MB / 0.722 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.7324, allocations: 4.98 MB / 0.7269 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.7327, allocations: 20.98 kB / 0.7269 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.7328, allocations: 47.56 kB / 0.7269 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 4.879e-06/0.7328, allocations: 3.984 kB / 0.7269 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124): time 0.02347/0.7563, allocations: 8.411 MB / 0.7352 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.7564, allocations: 222.6 kB / 0.7354 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.7597, allocations: 1.581 MB / 0.7369 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.76, allocations: 49.7 kB / 0.737 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.7607, allocations: 0.7263 MB / 0.7377 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.7612, allocations: 457.4 kB / 0.7381 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.7613, allocations: 32 kB / 0.7381 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7615, allocations: 361.9 kB / 0.7385 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.7635, allocations: 0.8902 MB / 0.7393 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.7656, allocations: 1.073 MB / 0.7404 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.7676, allocations: 1.003 MB / 0.7414 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7676, allocations: 0 / 0.7414 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007619/0.7753, allocations: 3.325 MB / 0.7446 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004718/0.7758, allocations: 1.032 MB / 0.7456 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7758, allocations: 0 / 0.7456 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007635/0.7834, allocations: 2.293 MB / 0.7479 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.7845, allocations: 191.7 kB / 0.7481 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.7916, allocations: 3.516 MB / 0.7515 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.7943, allocations: 231.8 kB / 0.7517 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.7944, allocations: 51.98 kB / 0.7518 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7944, allocations: 4 kB / 0.7518 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006717/0.8012, allocations: 2.974 MB / 0.7547 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8012, allocations: 8.125 kB / 0.7547 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007079/0.8083, allocations: 2.168 MB / 0.7568 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/0.8092, allocations: 199.7 kB / 0.757 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00881/0.818, allocations: 4.889 MB / 0.7618 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.8204, allocations: 219.8 kB / 0.762 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.8206, allocations: 48 kB / 0.762 GB, free: 5.809 MB / 0.5573 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * 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.001003/0.8216, allocations: 464.9 kB / 0.7625 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.822, allocations: 181.7 kB / 0.7626 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009639/0.8317, allocations: 3.581 MB / 0.7661 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.8317, allocations: 12 kB / 0.7661 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8317, allocations: 11.95 kB / 0.7661 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.8318, allocations: 11.97 kB / 0.7662 GB, free: 1.52 MB / 0.5573 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.27/1.102, allocations: 5.93 MB / 0.7719 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.102, allocations: 0 / 0.7719 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.105, allocations: 0.5028 MB / 0.7724 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/1.109, allocations: 1.33 MB / 0.7737 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/1.11, allocations: 35.06 kB / 0.7738 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.124, allocations: 10.53 MB / 0.7841 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.124, allocations: 1.281 kB / 0.7841 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.136, allocations: 4.763 MB / 0.7887 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/1.137, allocations: 287.5 kB / 0.789 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/1.137, allocations: 32.94 kB / 0.789 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.139, allocations: 226.5 kB / 0.7892 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/1.14, allocations: 209.8 kB / 0.7894 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/1.14, allocations: 32.42 kB / 0.7895 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002634/1.142, allocations: 1.256 MB / 0.7907 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.3e-07/1.142, allocations: 0 / 0.7907 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002717/1.145, allocations: 0.6573 MB / 0.7913 GB, free: 129.8 MB / 0.5573 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 () * Number of clocked 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.01138/1.156, allocations: 5.535 MB / 0.7967 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.169, allocations: 5.139 MB / 0.8018 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.169, allocations: 6.562 kB / 0.8018 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006027/1.175, allocations: 2.279 MB / 0.804 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.177, allocations: 185.5 kB / 0.8042 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/1.186, allocations: 6.466 MB / 0.8105 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/1.187, allocations: 1.372 MB / 0.8118 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001038/1.188, allocations: 184.7 kB / 0.812 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008391/1.189, allocations: 0.6751 MB / 0.8126 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.21e-07/1.189, allocations: 0 / 0.8126 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/1.262, allocations: 46.55 MB / 0.8581 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.262, allocations: 227 kB / 0.8583 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/4.727, allocations: 0 / 0.8583 GB, free: 112.5 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)