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: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.004157/0.004157, allocations: 171.4 kB / 15.11 MB, free: 5.973 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.145/1.145, allocations: 223.2 MB / 239.1 MB, free: 1.754 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.0008487/0.0008488, allocations: 96.44 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.3999/0.3999, allocations: 79.43 MB / 420.8 MB, free: 43.63 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12 kB / 0.489 GB, free: 2.043 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2618, allocations: 69.5 MB / 0.5569 GB, free: 38.69 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3701, allocations: 110.4 MB / 0.6647 GB, free: 11.22 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3704, allocations: 92.72 kB / 0.6648 GB, free: 11.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1111/0.4814, allocations: 44.35 MB / 0.7081 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4814, allocations: 0 / 0.7081 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001526/0.4816, allocations: 51.92 kB / 0.7081 GB, free: 14.54 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.006677/0.4883, allocations: 2.597 MB / 0.7107 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.4883, allocations: 8.031 kB / 0.7107 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.4916, allocations: 0.6571 MB / 0.7113 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.495, allocations: 1.555 MB / 0.7128 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/0.4954, allocations: 381.6 kB / 0.7132 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.4957, allocations: 123.9 kB / 0.7133 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.4986, allocations: 1.577 MB / 0.7149 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.4986, allocations: 0 / 0.7149 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.4988, allocations: 51.98 kB / 0.7149 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.4988, allocations: 24 kB / 0.7149 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.5019, allocations: 1.539 MB / 0.7164 GB, free: 5.789 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.009722/0.5116, allocations: 6.088 MB / 0.7224 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/0.5271, allocations: 4.991 MB / 0.7273 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.5274, allocations: 16.98 kB / 0.7273 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5274, allocations: 43.56 kB / 0.7273 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=120): time 3.657e-06/0.5274, allocations: 4 kB / 0.7273 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124): time 0.02233/0.5498, allocations: 8.404 MB / 0.7355 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.5499, allocations: 226.6 kB / 0.7357 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.5533, allocations: 1.667 MB / 0.7374 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5534, allocations: 53.7 kB / 0.7374 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.554, allocations: 0.7301 MB / 0.7381 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.5545, allocations: 449.4 kB / 0.7386 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5546, allocations: 28 kB / 0.7386 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5548, allocations: 365.9 kB / 0.7389 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.5566, allocations: 0.8863 MB / 0.7398 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.5586, allocations: 1.08 MB / 0.7409 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.5606, allocations: 0.9979 MB / 0.7418 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5607, allocations: 0 / 0.7418 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.007343/0.568, allocations: 3.325 MB / 0.7451 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004067/0.5684, allocations: 1.036 MB / 0.7461 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5685, allocations: 11.88 kB / 0.7461 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00723/0.5757, allocations: 2.297 MB / 0.7483 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.5766, allocations: 191.7 kB / 0.7485 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.5829, allocations: 3.501 MB / 0.7519 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.5851, allocations: 239.8 kB / 0.7522 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.5853, allocations: 51.98 kB / 0.7522 GB, free: 436 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.5853, allocations: 0 / 0.7522 GB, free: 436 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006222/0.5915, allocations: 2.978 MB / 0.7551 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5915, allocations: 4.109 kB / 0.7551 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006702/0.5983, allocations: 2.176 MB / 0.7573 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008634/0.5991, allocations: 195.7 kB / 0.7575 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008433/0.6076, allocations: 4.896 MB / 0.7622 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.6099, allocations: 211.8 kB / 0.7624 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.6101, allocations: 51.98 kB / 0.7625 GB, free: 5.734 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.0009418/0.6111, allocations: 469.1 kB / 0.7629 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/0.6117, allocations: 181.7 kB / 0.7631 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009332/0.621, allocations: 3.583 MB / 0.7666 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.621, allocations: 12 kB / 0.7666 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.6211, allocations: 11.95 kB / 0.7666 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6211, allocations: 11.97 kB / 0.7666 GB, free: 1.441 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.2139/0.835, allocations: 6.001 MB / 0.7725 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.835, allocations: 5.203 kB / 0.7725 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/0.8377, allocations: 0.5005 MB / 0.773 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/0.8417, allocations: 1.328 MB / 0.7743 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.8419, allocations: 38.48 kB / 0.7743 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/0.8563, allocations: 10.52 MB / 0.7846 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8563, allocations: 0 / 0.7846 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.8663, allocations: 4.767 MB / 0.7892 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.8669, allocations: 307 kB / 0.7895 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.8671, allocations: 33.62 kB / 0.7896 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.8688, allocations: 230.1 kB / 0.7898 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/0.8692, allocations: 211.8 kB / 0.79 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.8693, allocations: 30.03 kB / 0.79 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002233/0.8716, allocations: 1.322 MB / 0.7913 GB, free: 130 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8716, allocations: 0 / 0.7913 GB, free: 130 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001552/0.8731, allocations: 0.6643 MB / 0.792 GB, free: 130 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.0002847/0.8734, allocations: 188.1 kB / 0.7921 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01131/0.8847, allocations: 5.145 MB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8848, allocations: 4.062 kB / 0.7972 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.89, allocations: 2.274 MB / 0.7994 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.8912, allocations: 192.7 kB / 0.7996 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/0.8974, allocations: 4.154 MB / 0.8036 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.8982, allocations: 1.372 MB / 0.805 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009191/0.8991, allocations: 195.5 kB / 0.8052 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.8995, allocations: 86.31 kB / 0.8052 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.8995, allocations: 0 / 0.8052 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04618/0.9457, allocations: 32.31 MB / 0.8368 GB, free: 124.4 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)