Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_2.0.0_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_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 103.7 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06512/0.06512, allocations: 12.59 MB / 327.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2839/0.2839, allocations: 78.01 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.588e-05, allocations: 4 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09824, allocations: 69.33 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4591, allocations: 111.3 MB / 0.6981 GB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4594, allocations: 86.19 kB / 0.6982 GB, free: 4.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.5803, allocations: 45.2 MB / 0.7424 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5804, allocations: 0 / 0.7424 GB, free: 14.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.5805, allocations: 47.92 kB / 0.7424 GB, free: 14.52 MB / 490.7 MB 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.004635/0.5852, allocations: 2.04 MB / 0.7444 GB, free: 12.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5852, allocations: 19.92 kB / 0.7444 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.5872, allocations: 442.7 kB / 0.7448 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.5893, allocations: 1.324 MB / 0.7461 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.5898, allocations: 375.9 kB / 0.7465 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.59, allocations: 123.2 kB / 0.7466 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.5922, allocations: 1.359 MB / 0.7479 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5923, allocations: 0 / 0.7479 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5924, allocations: 57.67 kB / 0.748 GB, free: 9.727 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5924, allocations: 24 kB / 0.748 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5944, allocations: 1.232 MB / 0.7492 GB, free: 8.965 MB / 490.7 MB 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.009383/0.6038, allocations: 5.955 MB / 0.755 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.6185, allocations: 4.597 MB / 0.7595 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.6197, allocations: 0.6853 MB / 0.7602 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6199, allocations: 17 kB / 0.7602 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6199, allocations: 51.5 kB / 0.7603 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 2.886e-06/0.6199, allocations: 4 kB / 0.7603 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.01152/0.6315, allocations: 5.2 MB / 0.7653 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.6316, allocations: 222.6 kB / 0.7656 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.6337, allocations: 1.402 MB / 0.7669 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.6339, allocations: 49.7 kB / 0.767 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/0.6344, allocations: 0.738 MB / 0.7677 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.6349, allocations: 457.5 kB / 0.7681 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.635, allocations: 32 kB / 0.7682 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6351, allocations: 369.9 kB / 0.7685 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.6363, allocations: 0.664 MB / 0.7692 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.6375, allocations: 0.862 MB / 0.77 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.6387, allocations: 0.7768 MB / 0.7708 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6387, allocations: 0 / 0.7708 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005122/0.6439, allocations: 2.673 MB / 0.7734 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.6442, allocations: 1.039 MB / 0.7744 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6442, allocations: 4 kB / 0.7744 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.6501, allocations: 1.86 MB / 0.7762 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/0.651, allocations: 195.7 kB / 0.7764 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.6556, allocations: 2.997 MB / 0.7793 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.6578, allocations: 235.8 kB / 0.7795 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.658, allocations: 51.98 kB / 0.7796 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.658, allocations: 4 kB / 0.7796 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004519/0.6625, allocations: 2.439 MB / 0.782 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6626, allocations: 3.984 kB / 0.782 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.6682, allocations: 1.84 MB / 0.7838 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.6691, allocations: 191.7 kB / 0.784 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/0.6757, allocations: 4.303 MB / 0.7882 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.678, allocations: 211.8 kB / 0.7884 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.6782, allocations: 51.98 kB / 0.7884 GB, free: 1.488 MB / 0.5105 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 () * 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.0003986/0.6786, allocations: 180.7 kB / 0.7886 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.6791, allocations: 185.7 kB / 0.7888 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/0.687, allocations: 2.988 MB / 0.7917 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.687, allocations: 16.2 kB / 0.7917 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.687, allocations: 4 kB / 0.7917 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6871, allocations: 7.922 kB / 0.7917 GB, free: 14.08 MB / 0.5261 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.01121/0.6983, allocations: 5.355 MB / 0.7969 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.6983, allocations: 3.953 kB / 0.797 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/0.7012, allocations: 0.4956 MB / 0.7974 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/0.7045, allocations: 1.006 MB / 0.7984 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.7047, allocations: 36.05 kB / 0.7985 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.7161, allocations: 8.81 MB / 0.8071 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7162, allocations: 8.094 kB / 0.8071 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009501/0.7257, allocations: 3.964 MB / 0.8109 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/0.7264, allocations: 282.9 kB / 0.8112 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/0.7268, allocations: 32 kB / 0.8112 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.7287, allocations: 223.8 kB / 0.8114 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/0.7293, allocations: 216.7 kB / 0.8117 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.7294, allocations: 32 kB / 0.8117 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001745/0.7312, allocations: 1.073 MB / 0.8127 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7312, allocations: 0 / 0.8127 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002046/0.7332, allocations: 0.6562 MB / 0.8134 GB, free: 7.188 MB / 0.5417 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.0003683/0.7336, allocations: 201.1 kB / 0.8136 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.7446, allocations: 4.576 MB / 0.818 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7446, allocations: 0 / 0.818 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005128/0.7498, allocations: 2.048 MB / 0.82 GB, free: 156 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.7511, allocations: 186 kB / 0.8202 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.7563, allocations: 2.863 MB / 0.823 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/0.7572, allocations: 1.379 MB / 0.8244 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001334/0.7585, allocations: 331.1 kB / 0.8247 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.7588, allocations: 71.42 kB / 0.8247 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of SimCode: time 6.02e-07/0.7588, allocations: 0 / 0.8247 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.04866/0.8075, allocations: 34.59 MB / 0.8585 GB, free: 8.668 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)