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.001085/0.001085, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008087/0.0008086, allocations: 89.81 kB / 261.4 MB, free: 13.45 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.06601/0.06601, allocations: 12.59 MB / 321.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2926/0.2926, allocations: 78.06 MB / 450.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.436e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.0999, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4641, allocations: 110.6 MB / 0.6904 GB, free: 13.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4644, allocations: 79.64 kB / 0.6905 GB, free: 13.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.124/0.5884, allocations: 44.74 MB / 0.7342 GB, free: 9.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5884, allocations: 0 / 0.7342 GB, free: 9.035 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002184/0.5886, allocations: 51.12 kB / 0.7342 GB, free: 8.988 MB / 474.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.006063/0.5947, allocations: 2.042 MB / 0.7362 GB, free: 7.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5948, allocations: 8.031 kB / 0.7362 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.5972, allocations: 441.6 kB / 0.7367 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.5998, allocations: 1.324 MB / 0.7379 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004708/0.6003, allocations: 337.3 kB / 0.7383 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.6006, allocations: 79.78 kB / 0.7383 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002257/0.6029, allocations: 1.175 MB / 0.7395 GB, free: 4.484 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.605, allocations: 1.2 MB / 0.7407 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.605, allocations: 4 kB / 0.7407 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6052, allocations: 0 / 0.7407 GB, free: 3.613 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.6052, allocations: 28 kB / 0.7407 GB, free: 3.586 MB / 474.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.009591/0.6148, allocations: 5.753 MB / 0.7463 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.6301, allocations: 4.547 MB / 0.7508 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.6314, allocations: 0.6434 MB / 0.7514 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.6315, allocations: 25.28 kB / 0.7514 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.6315, allocations: 51.81 kB / 0.7515 GB, free: 9.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=120): time 3.526e-06/0.6315, allocations: 0 / 0.7515 GB, free: 9.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.0117/0.6433, allocations: 5.024 MB / 0.7564 GB, free: 4.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.6434, allocations: 230.9 kB / 0.7566 GB, free: 4.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.6452, allocations: 1.254 MB / 0.7578 GB, free: 2.844 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6454, allocations: 29.7 kB / 0.7578 GB, free: 2.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.6459, allocations: 0.7336 MB / 0.7586 GB, free: 2.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.6463, allocations: 445.4 kB / 0.759 GB, free: 1.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.6464, allocations: 0 / 0.759 GB, free: 1.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6466, allocations: 361.9 kB / 0.7593 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.6476, allocations: 0.6367 MB / 0.7599 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.6488, allocations: 0.8113 MB / 0.7607 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.65, allocations: 0.7243 MB / 0.7614 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.65, allocations: 0 / 0.7614 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006746/0.6568, allocations: 2.823 MB / 0.7642 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.6572, allocations: 1.032 MB / 0.7652 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6572, allocations: 4 kB / 0.7652 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/0.6629, allocations: 1.739 MB / 0.7669 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.6638, allocations: 187.7 kB / 0.7671 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/0.6689, allocations: 3.13 MB / 0.7701 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.6711, allocations: 203.8 kB / 0.7703 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.6712, allocations: 48 kB / 0.7704 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.6712, allocations: 5.562 kB / 0.7704 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006309/0.6775, allocations: 2.562 MB / 0.7729 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.6776, allocations: 4 kB / 0.7729 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005472/0.6831, allocations: 1.684 MB / 0.7745 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.6841, allocations: 191.7 kB / 0.7747 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.6911, allocations: 4.38 MB / 0.779 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.6934, allocations: 187.9 kB / 0.7792 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.6935, allocations: 47.98 kB / 0.7792 GB, free: 12.48 MB / 0.5105 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.0003653/0.6939, allocations: 124.8 kB / 0.7793 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.6942, allocations: 173.8 kB / 0.7795 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.7019, allocations: 2.897 MB / 0.7823 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7019, allocations: 16 kB / 0.7824 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.702, allocations: 4 kB / 0.7824 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.702, allocations: 3.984 kB / 0.7824 GB, free: 9.234 MB / 0.5105 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.01078/0.7128, allocations: 5.137 MB / 0.7874 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7128, allocations: 0 / 0.7874 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/0.7158, allocations: 0.4995 MB / 0.7879 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/0.7191, allocations: 0.9908 MB / 0.7888 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.7193, allocations: 23.94 kB / 0.7889 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.7302, allocations: 8.568 MB / 0.7972 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.7302, allocations: 8.094 kB / 0.7972 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/0.7394, allocations: 3.868 MB / 0.801 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.7399, allocations: 274.9 kB / 0.8013 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.7402, allocations: 12 kB / 0.8013 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.742, allocations: 203.8 kB / 0.8015 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005026/0.7425, allocations: 213.1 kB / 0.8017 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.7427, allocations: 32 kB / 0.8017 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001386/0.7441, allocations: 0.9464 MB / 0.8026 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7441, allocations: 0 / 0.8026 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001878/0.746, allocations: 0.5702 MB / 0.8032 GB, free: 3.27 MB / 0.5261 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.0003334/0.7463, allocations: 165.2 kB / 0.8034 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01111/0.7575, allocations: 4.427 MB / 0.8077 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7575, allocations: 4 kB / 0.8077 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005155/0.7627, allocations: 1.99 MB / 0.8096 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.7638, allocations: 165.5 kB / 0.8098 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.7691, allocations: 2.817 MB / 0.8125 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/0.7701, allocations: 1.372 MB / 0.8139 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001294/0.7714, allocations: 326.6 kB / 0.8142 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.7716, allocations: 67.44 kB / 0.8142 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.7716, allocations: 0 / 0.8142 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.04455/0.8162, allocations: 30.88 MB / 0.8444 GB, free: 8.812 MB / 0.573 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)