Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 176.2 kB / 7.643 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.249/1.249, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.000806/0.000806, allocations: 78.14 kB / 261.4 MB, free: 13.44 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.0643/0.0643, allocations: 12.6 MB / 322 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2951/0.2951, allocations: 78.07 MB / 450.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.353e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09979, allocations: 69.34 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4621, allocations: 101.9 MB / 0.6819 GB, free: 6.023 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.4624, allocations: 81.06 kB / 0.682 GB, free: 5.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07652/0.5389, allocations: 28.87 MB / 0.7102 GB, free: 14.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5389, allocations: 7.938 kB / 0.7102 GB, free: 14.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.047e-05/0.539, allocations: 23.94 kB / 0.7102 GB, free: 14.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003338/0.5423, allocations: 1.47 MB / 0.7117 GB, free: 12.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5424, allocations: 11.97 kB / 0.7117 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.5446, allocations: 412.7 kB / 0.7121 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.5459, allocations: 0.8731 MB / 0.7129 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.5461, allocations: 222.6 kB / 0.7132 GB, free: 11.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5463, allocations: 43.91 kB / 0.7132 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/0.5475, allocations: 0.7502 MB / 0.7139 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5487, allocations: 0.7613 MB / 0.7147 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5487, allocations: 0 / 0.7147 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.5488, allocations: 4 kB / 0.7147 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5488, allocations: 16 kB / 0.7147 GB, free: 10.46 MB / 458.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.005569/0.5544, allocations: 3.495 MB / 0.7181 GB, free: 7.965 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.5688, allocations: 3.98 MB / 0.722 GB, free: 4.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.5694, allocations: 468.4 kB / 0.7224 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.88e-05/0.5695, allocations: 16.75 kB / 0.7224 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.5696, allocations: 41.78 kB / 0.7225 GB, free: 4.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=76): time 3.587e-06/0.5696, allocations: 3.984 kB / 0.7225 GB, free: 4.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=76): time 0.005816/0.5754, allocations: 2.089 MB / 0.7245 GB, free: 2.348 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.5755, allocations: 118.2 kB / 0.7246 GB, free: 2.211 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.5765, allocations: 0.854 MB / 0.7255 GB, free: 1.609 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.5766, allocations: 29.7 kB / 0.7255 GB, free: 1.574 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.5769, allocations: 485 kB / 0.726 GB, free: 1.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5771, allocations: 265.7 kB / 0.7262 GB, free: 1.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.5772, allocations: 0 / 0.7262 GB, free: 1.078 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5773, allocations: 339 kB / 0.7265 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.5779, allocations: 418.2 kB / 0.7269 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.5786, allocations: 0.5084 MB / 0.7274 GB, free: 228 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.5793, allocations: 461.4 kB / 0.7279 GB, free: 15.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5793, allocations: 0 / 0.7279 GB, free: 15.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006473/0.5858, allocations: 2.33 MB / 0.7302 GB, free: 14.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.586, allocations: 0.6181 MB / 0.7308 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.586, allocations: 4 kB / 0.7308 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003881/0.5899, allocations: 1.008 MB / 0.7318 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.5908, allocations: 154.4 kB / 0.7319 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007815/0.5986, allocations: 4.297 MB / 0.7361 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.5999, allocations: 167.1 kB / 0.7363 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.6, allocations: 27.98 kB / 0.7363 GB, free: 8.875 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.6, allocations: 5.406 kB / 0.7363 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006279/0.6063, allocations: 2.171 MB / 0.7384 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.6064, allocations: 0 / 0.7384 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/0.6102, allocations: 1.009 MB / 0.7394 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.6109, allocations: 143.8 kB / 0.7395 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/0.6188, allocations: 4.294 MB / 0.7437 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6201, allocations: 147.2 kB / 0.7439 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.6202, allocations: 31.92 kB / 0.7439 GB, free: 0.9375 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.6204, allocations: 126.9 kB / 0.744 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.6206, allocations: 110.6 kB / 0.7441 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.6266, allocations: 2.17 MB / 0.7462 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.6266, allocations: 8 kB / 0.7462 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6266, allocations: 4 kB / 0.7462 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6266, allocations: 3.984 kB / 0.7463 GB, free: 14.49 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 postOpt removeSimpleEquations (simulation): time 0.007635/0.6343, allocations: 3.693 MB / 0.7499 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6343, allocations: 0 / 0.7499 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.635, allocations: 107.9 kB / 0.75 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002729/0.6378, allocations: 0.8488 MB / 0.7508 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.6379, allocations: 11.95 kB / 0.7508 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.6434, allocations: 3.279 MB / 0.754 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6434, allocations: 3.984 kB / 0.754 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/0.6499, allocations: 2.831 MB / 0.7568 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.6501, allocations: 227.5 kB / 0.757 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6503, allocations: 8 kB / 0.757 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6515, allocations: 123.9 kB / 0.7571 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.6519, allocations: 128.5 kB / 0.7572 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.6519, allocations: 20 kB / 0.7573 GB, free: 2.961 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008422/0.6528, allocations: 0.6628 MB / 0.7579 GB, free: 2.289 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6528, allocations: 0 / 0.7579 GB, free: 2.289 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00134/0.6541, allocations: 0.5031 MB / 0.7584 GB, free: 1.785 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.6544, allocations: 135.6 kB / 0.7585 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006577/0.661, allocations: 3.012 MB / 0.7615 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.661, allocations: 192 / 0.7615 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.6637, allocations: 1.188 MB / 0.7626 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.6643, allocations: 96.14 kB / 0.7627 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.6678, allocations: 1.887 MB / 0.7646 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6684, allocations: 1.107 MB / 0.7656 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008675/0.6693, allocations: 204.7 kB / 0.7658 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.6695, allocations: 51.42 kB / 0.7659 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.6695, allocations: 0 / 0.7659 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of Templates: time 0.03128/0.7008, allocations: 21.24 MB / 0.7866 GB, free: 4.648 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)