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.0009927/0.0009927, 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 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0009661/0.0009662, allocations: 89.61 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4578/0.4578, allocations: 78.06 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.767e-05, allocations: 4 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 69.36 MB / 0.5414 GB, free: 6.711 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.5065, allocations: 108.9 MB / 0.6477 GB, free: 6.543 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5069, allocations: 85.56 kB / 0.6478 GB, free: 6.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.6281, allocations: 45.54 MB / 0.6923 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6281, allocations: 0 / 0.6923 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000137/0.6283, allocations: 39.94 kB / 0.6923 GB, free: 8.949 MB / 0.4948 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.004896/0.6332, allocations: 2.047 MB / 0.6943 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6332, allocations: 8.031 kB / 0.6943 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.6353, allocations: 445.1 kB / 0.6948 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.6376, allocations: 1.306 MB / 0.696 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004312/0.6381, allocations: 345.4 kB / 0.6964 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/0.6383, allocations: 79.91 kB / 0.6964 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002016/0.6403, allocations: 1.174 MB / 0.6976 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.6423, allocations: 1.199 MB / 0.6988 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6423, allocations: 7.688 kB / 0.6988 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6424, allocations: 0 / 0.6988 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.6424, allocations: 28 kB / 0.6988 GB, free: 2.102 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.009712/0.6522, allocations: 5.738 MB / 0.7044 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.6668, allocations: 4.547 MB / 0.7088 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.668, allocations: 0.6489 MB / 0.7095 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.6681, allocations: 17.31 kB / 0.7095 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.6682, allocations: 47.81 kB / 0.7095 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 3.256e-06/0.6682, allocations: 0 / 0.7095 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.01138/0.6795, allocations: 5.032 MB / 0.7144 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.6797, allocations: 218.9 kB / 0.7147 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.6817, allocations: 1.258 MB / 0.7159 GB, free: 232 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.6819, allocations: 29.7 kB / 0.7159 GB, free: 196 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.6825, allocations: 0.7375 MB / 0.7166 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.6829, allocations: 441.5 kB / 0.7171 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.683, allocations: 3.938 kB / 0.7171 GB, free: 15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6831, allocations: 365.9 kB / 0.7174 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/0.6841, allocations: 0.6328 MB / 0.718 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.6853, allocations: 0.8113 MB / 0.7188 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.6865, allocations: 0.7165 MB / 0.7195 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6865, allocations: 4 kB / 0.7195 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006608/0.6931, allocations: 2.823 MB / 0.7223 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.6935, allocations: 1.034 MB / 0.7233 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6935, allocations: 0 / 0.7233 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005546/0.6991, allocations: 1.743 MB / 0.725 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009924/0.7001, allocations: 183.7 kB / 0.7252 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.7055, allocations: 3.137 MB / 0.7282 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.7079, allocations: 207.7 kB / 0.7284 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.7081, allocations: 51.98 kB / 0.7285 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7082, allocations: 4 kB / 0.7285 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006141/0.7143, allocations: 2.55 MB / 0.731 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7144, allocations: 4 kB / 0.731 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005332/0.7197, allocations: 1.701 MB / 0.7326 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/0.7206, allocations: 187.7 kB / 0.7328 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.7271, allocations: 4.363 MB / 0.7371 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.7293, allocations: 187.9 kB / 0.7373 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.7295, allocations: 46.34 kB / 0.7373 GB, free: 9.895 MB / 0.5417 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.000372/0.7298, allocations: 130 kB / 0.7374 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007314/0.7372, allocations: 2.799 MB / 0.7402 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.7376, allocations: 169.9 kB / 0.7403 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.7451, allocations: 2.896 MB / 0.7431 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7451, allocations: 12 kB / 0.7432 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7451, allocations: 6.688 kB / 0.7432 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.7452, allocations: 3.984 kB / 0.7432 GB, free: 3.832 MB / 0.5417 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.01116/0.7563, allocations: 5.133 MB / 0.7482 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.7564, allocations: 0 / 0.7482 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003614/0.76, allocations: 0.5034 MB / 0.7487 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/0.7632, allocations: 0.9905 MB / 0.7496 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.7634, allocations: 19.98 kB / 0.7497 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.7736, allocations: 8.567 MB / 0.758 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7737, allocations: 6.219 kB / 0.758 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/0.7822, allocations: 3.86 MB / 0.7618 GB, free: 148 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2654/1.048, allocations: 271.7 kB / 0.7621 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/1.049, allocations: 15.14 kB / 0.7621 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.051, allocations: 198.1 kB / 0.7623 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007074/1.052, allocations: 209.1 kB / 0.7625 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/1.052, allocations: 31.75 kB / 0.7625 GB, free: 137 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001816/1.054, allocations: 0.9499 MB / 0.7634 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 2.734 kB / 0.7634 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003245/1.057, allocations: 0.5694 MB / 0.764 GB, free: 136.9 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 () * 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.009411/1.066, allocations: 4.611 MB / 0.7685 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.078, allocations: 4.43 MB / 0.7728 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.078, allocations: 3.531 kB / 0.7728 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005142/1.083, allocations: 1.991 MB / 0.7748 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.085, allocations: 159.2 kB / 0.7749 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/1.092, allocations: 3.103 MB / 0.7779 GB, free: 134 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/1.093, allocations: 1.386 MB / 0.7793 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001354/1.095, allocations: 329.6 kB / 0.7796 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007761/1.095, allocations: 0.649 MB / 0.7802 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.513e-06/1.095, allocations: 0 / 0.7802 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08532/1.181, allocations: 45.49 MB / 0.8247 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/1.181, allocations: 141 kB / 0.8248 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.77, allocations: 3.5 kB / 0.8248 GB, free: 131.2 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)