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.0009659/0.0009659, 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.381/1.381, allocations: 221.5 MB / 229.6 MB, free: 7.617 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.000837/0.0008369, allocations: 98.62 kB / 280.5 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4807/0.4807, allocations: 78.93 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.38e-05/1.383e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 69.52 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.5238, allocations: 109.6 MB / 0.6495 GB, free: 4.535 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.5241, allocations: 84.8 kB / 0.6496 GB, free: 4.453 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.6469, allocations: 43.83 MB / 0.6924 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.647, allocations: 0 / 0.6924 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001404/0.6471, allocations: 44.06 kB / 0.6924 GB, free: 8.656 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.005825/0.6529, allocations: 2.035 MB / 0.6944 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.653, allocations: 12.03 kB / 0.6944 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.6565, allocations: 0.6493 MB / 0.695 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.6592, allocations: 1.381 MB / 0.6964 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.6596, allocations: 345.4 kB / 0.6967 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.6598, allocations: 75.91 kB / 0.6968 GB, free: 4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002089/0.6619, allocations: 1.18 MB / 0.6979 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.664, allocations: 1.194 MB / 0.6991 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.664, allocations: 0 / 0.6991 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.6641, allocations: 4 kB / 0.6991 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.6642, allocations: 24 kB / 0.6991 GB, free: 1.531 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.01149/0.6757, allocations: 5.873 MB / 0.7049 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.6909, allocations: 4.558 MB / 0.7093 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.6925, allocations: 0.6472 MB / 0.71 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.6926, allocations: 29.28 kB / 0.71 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.6926, allocations: 46.78 kB / 0.71 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 3.176e-06/0.6927, allocations: 0 / 0.71 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.01267/0.7053, allocations: 5.035 MB / 0.7149 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.7055, allocations: 218.9 kB / 0.7152 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.708, allocations: 1.352 MB / 0.7165 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003256/0.7083, allocations: 29.7 kB / 0.7165 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.7089, allocations: 0.7297 MB / 0.7172 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.7094, allocations: 437.6 kB / 0.7176 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.7095, allocations: 0 / 0.7176 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.7097, allocations: 361.9 kB / 0.718 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.7108, allocations: 0.6288 MB / 0.7186 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.712, allocations: 0.8151 MB / 0.7194 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.7133, allocations: 0.7204 MB / 0.7201 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7133, allocations: 0 / 0.7201 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006922/0.7202, allocations: 2.83 MB / 0.7229 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004337/0.7207, allocations: 1.031 MB / 0.7239 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7207, allocations: 4 kB / 0.7239 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00563/0.7263, allocations: 1.735 MB / 0.7256 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.7273, allocations: 187.7 kB / 0.7257 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/0.7324, allocations: 3.145 MB / 0.7288 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.7348, allocations: 207.7 kB / 0.729 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.7351, allocations: 48 kB / 0.7291 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7351, allocations: 4 kB / 0.7291 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006184/0.7413, allocations: 2.558 MB / 0.7316 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7413, allocations: 4 kB / 0.7316 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.7467, allocations: 1.7 MB / 0.7332 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.7477, allocations: 179.7 kB / 0.7334 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.7548, allocations: 4.371 MB / 0.7377 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.7574, allocations: 187.8 kB / 0.7378 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.7578, allocations: 44 kB / 0.7379 GB, free: 9.082 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.0006554/0.7584, allocations: 145.8 kB / 0.738 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000734/0.7592, allocations: 165.9 kB / 0.7382 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007955/0.7671, allocations: 2.896 MB / 0.741 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.7672, allocations: 12 kB / 0.741 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.7672, allocations: 4 kB / 0.741 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.7672, allocations: 11.97 kB / 0.741 GB, free: 5.828 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.01168/0.7789, allocations: 5.196 MB / 0.7461 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.779, allocations: 0 / 0.7461 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/0.7819, allocations: 0.5033 MB / 0.7466 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/0.7851, allocations: 0.993 MB / 0.7476 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.7853, allocations: 16 kB / 0.7476 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.7967, allocations: 8.571 MB / 0.756 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7967, allocations: 8.094 kB / 0.756 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009424/0.8062, allocations: 3.867 MB / 0.7597 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.8069, allocations: 294.9 kB / 0.76 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005144/0.8075, allocations: 12 kB / 0.76 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/0.8097, allocations: 199.8 kB / 0.7602 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006386/0.8103, allocations: 209 kB / 0.7604 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.8105, allocations: 32 kB / 0.7604 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001952/0.8124, allocations: 1.009 MB / 0.7614 GB, free: 312 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8124, allocations: 0 / 0.7614 GB, free: 312 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.2927/1.105, allocations: 0.5791 MB / 0.762 GB, free: 138 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.0004177/1.106, allocations: 158.7 kB / 0.7621 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.116, allocations: 4.436 MB / 0.7665 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.116, allocations: 0 / 0.7665 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.121, allocations: 1.984 MB / 0.7684 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.122, allocations: 163.3 kB / 0.7686 GB, free: 136.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/1.127, allocations: 2.814 MB / 0.7713 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/1.128, allocations: 1.38 MB / 0.7727 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001344/1.129, allocations: 326.3 kB / 0.773 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.129, allocations: 69.5 kB / 0.773 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/1.129, allocations: 0 / 0.773 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.05413/1.184, allocations: 31.32 MB / 0.8036 GB, free: 134.1 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)