Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Network3,fileNamePrefix="OpenIPSL_dev_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_dev_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.01025/0.01025, allocations: 170 kB / 15.11 MB, free: 6.039 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.488/1.488, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008922/0.0008921, allocations: 94.64 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5376/0.5376, allocations: 79.44 MB / 420.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 12 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4339, allocations: 69.5 MB / 0.557 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5984, allocations: 110.4 MB / 0.6648 GB, free: 11.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5987, allocations: 87.95 kB / 0.6649 GB, free: 11.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1335/0.7323, allocations: 44.36 MB / 0.7082 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7323, allocations: 0 / 0.7082 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002911/0.7326, allocations: 47.97 kB / 0.7082 GB, free: 14.48 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.01018/0.7428, allocations: 2.613 MB / 0.7108 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.7429, allocations: 12.03 kB / 0.7108 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008676/0.7438, allocations: 168.8 kB / 0.711 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.7481, allocations: 0.6493 MB / 0.7116 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005891/0.754, allocations: 1.555 MB / 0.7131 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006808/0.7547, allocations: 373.6 kB / 0.7135 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007984/0.7555, allocations: 127.9 kB / 0.7136 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.7594, allocations: 1.58 MB / 0.7151 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.7595, allocations: 0 / 0.7151 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7596, allocations: 48 kB / 0.7152 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.7597, allocations: 28 kB / 0.7152 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.7633, allocations: 1.539 MB / 0.7167 GB, free: 5.539 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.01269/0.7761, allocations: 6.084 MB / 0.7226 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.7926, allocations: 4.988 MB / 0.7275 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.7929, allocations: 16.91 kB / 0.7275 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/0.7929, allocations: 59.48 kB / 0.7276 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 4.729e-06/0.7929, allocations: 4 kB / 0.7276 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124): time 0.02447/0.8174, allocations: 8.392 MB / 0.7358 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.8176, allocations: 222.6 kB / 0.736 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.8214, allocations: 1.671 MB / 0.7376 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004206/0.8218, allocations: 49.7 kB / 0.7377 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/0.8225, allocations: 0.734 MB / 0.7384 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/0.8231, allocations: 449.5 kB / 0.7388 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.8232, allocations: 28 kB / 0.7389 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8234, allocations: 373.8 kB / 0.7392 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.8254, allocations: 0.8901 MB / 0.7401 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.8274, allocations: 1.073 MB / 0.7411 GB, free: 12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.8295, allocations: 1.002 MB / 0.7421 GB, free: 11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8295, allocations: 0 / 0.7421 GB, free: 11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007651/0.8371, allocations: 3.329 MB / 0.7454 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004272/0.8376, allocations: 1.035 MB / 0.7464 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8376, allocations: 4 kB / 0.7464 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007624/0.8453, allocations: 2.278 MB / 0.7486 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.8464, allocations: 195.7 kB / 0.7488 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.8532, allocations: 3.5 MB / 0.7522 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.8558, allocations: 235.8 kB / 0.7524 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.8559, allocations: 51.98 kB / 0.7525 GB, free: 200 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.856, allocations: 4.109 kB / 0.7525 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006553/0.8625, allocations: 2.986 MB / 0.7554 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8626, allocations: 4 kB / 0.7554 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007262/0.8698, allocations: 2.172 MB / 0.7575 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.871, allocations: 191.7 kB / 0.7577 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009693/0.8807, allocations: 4.91 MB / 0.7625 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.8836, allocations: 216.1 kB / 0.7627 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.8839, allocations: 48 kB / 0.7627 GB, free: 5.484 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.001404/0.8854, allocations: 476.8 kB / 0.7632 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/0.8861, allocations: 181.7 kB / 0.7634 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.8961, allocations: 3.575 MB / 0.7669 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.8962, allocations: 15.95 kB / 0.7669 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/0.8962, allocations: 4 kB / 0.7669 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.8962, allocations: 11.97 kB / 0.7669 GB, free: 1.195 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.342/1.238, allocations: 5.996 MB / 0.7728 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.238, allocations: 5.328 kB / 0.7728 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.242, allocations: 0.4993 MB / 0.7732 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004676/1.246, allocations: 1.332 MB / 0.7745 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/1.247, allocations: 34.31 kB / 0.7746 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.263, allocations: 10.52 MB / 0.7849 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.263, allocations: 0 / 0.7849 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.276, allocations: 4.771 MB / 0.7895 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.277, allocations: 307.1 kB / 0.7898 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005159/1.277, allocations: 32.47 kB / 0.7898 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.279, allocations: 227.2 kB / 0.7901 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/1.28, allocations: 212 kB / 0.7903 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/1.28, allocations: 30 kB / 0.7903 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00286/1.283, allocations: 1.319 MB / 0.7916 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.283, allocations: 3.375 kB / 0.7916 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002697/1.286, allocations: 0.6664 MB / 0.7922 GB, free: 130.3 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.01214/1.298, allocations: 5.539 MB / 0.7976 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.313, allocations: 5.138 MB / 0.8027 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.313, allocations: 1.594 kB / 0.8027 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006529/1.319, allocations: 2.275 MB / 0.8049 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.321, allocations: 191.7 kB / 0.8051 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.334, allocations: 6.519 MB / 0.8114 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.335, allocations: 1.372 MB / 0.8128 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001281/1.336, allocations: 191.3 kB / 0.8129 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009718/1.337, allocations: 0.6715 MB / 0.8136 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/1.337, allocations: 0 / 0.8136 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07944/1.416, allocations: 47.3 MB / 0.8598 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.417, allocations: 223 kB / 0.86 GB, free: 111 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/5.279, allocations: 0 / 0.86 GB, free: 111 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)