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: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.285/1.285, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008517/0.0008517, allocations: 91.2 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4299/0.4299, allocations: 78.05 MB / 409.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.382e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4704, allocations: 108.9 MB / 0.6476 GB, free: 6.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.4706, allocations: 81.73 kB / 0.6477 GB, free: 6.523 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.5922, allocations: 45.54 MB / 0.6922 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5922, allocations: 0 / 0.6922 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002062/0.5924, allocations: 36 kB / 0.6922 GB, free: 9.023 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.005663/0.5981, allocations: 2.051 MB / 0.6942 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5982, allocations: 10 kB / 0.6942 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.6006, allocations: 445.1 kB / 0.6947 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.6034, allocations: 1.302 MB / 0.6959 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.6039, allocations: 341.4 kB / 0.6963 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.6042, allocations: 79.91 kB / 0.6963 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/0.6067, allocations: 1.172 MB / 0.6975 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.609, allocations: 1.194 MB / 0.6986 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6091, allocations: 4 kB / 0.6987 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6092, allocations: 0 / 0.6987 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.6092, allocations: 28 kB / 0.6987 GB, free: 2.184 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.01069/0.6199, allocations: 5.744 MB / 0.7043 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.6348, allocations: 4.548 MB / 0.7087 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.6362, allocations: 0.6491 MB / 0.7094 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.6364, allocations: 21.3 kB / 0.7094 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6364, allocations: 47.88 kB / 0.7094 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 3.406e-06/0.6364, allocations: 0 / 0.7094 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.01249/0.6489, allocations: 5.028 MB / 0.7143 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.6491, allocations: 218.9 kB / 0.7145 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.6512, allocations: 1.262 MB / 0.7158 GB, free: 308 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.6513, allocations: 29.7 kB / 0.7158 GB, free: 272 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/0.6519, allocations: 0.7375 MB / 0.7165 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.6524, allocations: 439 kB / 0.7169 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.6525, allocations: 0 / 0.7169 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6526, allocations: 365.9 kB / 0.7173 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.6537, allocations: 0.6405 MB / 0.7179 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.6549, allocations: 0.8121 MB / 0.7187 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.6562, allocations: 0.7165 MB / 0.7194 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6562, allocations: 7.938 kB / 0.7194 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006687/0.6629, allocations: 2.815 MB / 0.7222 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.6633, allocations: 1.039 MB / 0.7232 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6633, allocations: 0 / 0.7232 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005438/0.6688, allocations: 1.727 MB / 0.7249 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.6697, allocations: 191.7 kB / 0.7251 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.6746, allocations: 3.138 MB / 0.7281 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.6767, allocations: 203.7 kB / 0.7283 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.6769, allocations: 57.75 kB / 0.7284 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6769, allocations: 4 kB / 0.7284 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006192/0.6831, allocations: 2.548 MB / 0.7309 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6831, allocations: 7.984 kB / 0.7309 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/0.6884, allocations: 1.704 MB / 0.7325 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.6893, allocations: 187.7 kB / 0.7327 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.6959, allocations: 4.363 MB / 0.737 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.6979, allocations: 183.9 kB / 0.7371 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.698, allocations: 47.98 kB / 0.7372 GB, free: 9.969 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.0003756/0.6984, allocations: 128.5 kB / 0.7373 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.6989, allocations: 166.2 kB / 0.7375 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/0.7063, allocations: 2.9 MB / 0.7403 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7063, allocations: 12 kB / 0.7403 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7063, allocations: 8 kB / 0.7403 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7064, allocations: 17.72 kB / 0.7403 GB, free: 6.719 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.01059/0.717, allocations: 5.132 MB / 0.7454 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.717, allocations: 0 / 0.7454 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/0.7197, allocations: 0.4995 MB / 0.7458 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/0.7228, allocations: 0.9896 MB / 0.7468 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.723, allocations: 19.98 kB / 0.7468 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.7344, allocations: 8.577 MB / 0.7552 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7345, allocations: 0 / 0.7552 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009156/0.7436, allocations: 3.86 MB / 0.759 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.7444, allocations: 271 kB / 0.7592 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.7448, allocations: 15.98 kB / 0.7592 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/0.7467, allocations: 203.7 kB / 0.7594 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/0.7473, allocations: 205 kB / 0.7596 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7474, allocations: 39.98 kB / 0.7597 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001674/0.7491, allocations: 0.9385 MB / 0.7606 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7491, allocations: 0 / 0.7606 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002328/0.7514, allocations: 0.5741 MB / 0.7612 GB, free: 0.7852 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.0003712/0.7518, allocations: 165 kB / 0.7613 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2441/0.9959, allocations: 4.429 MB / 0.7656 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.9959, allocations: 2.938 kB / 0.7656 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004489/1, allocations: 1.993 MB / 0.7676 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.002, allocations: 161 kB / 0.7677 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/1.006, allocations: 2.808 MB / 0.7705 GB, free: 136.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/1.007, allocations: 1.378 MB / 0.7718 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001184/1.008, allocations: 325 kB / 0.7721 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.008, allocations: 69.41 kB / 0.7722 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/1.008, allocations: 0 / 0.7722 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.04967/1.058, allocations: 30.83 MB / 0.8023 GB, free: 134.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)