Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003911/0.003911, allocations: 171.2 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.117/1.117, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008296/0.0008296, allocations: 96.81 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3901/0.3901, allocations: 79.44 MB / 420.8 MB, free: 43.75 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 12 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 69.5 MB / 0.5569 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09729/0.3734, allocations: 99.83 MB / 0.6544 GB, free: 5.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3736, allocations: 83.95 kB / 0.6545 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05419/0.4278, allocations: 22.95 MB / 0.6769 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4278, allocations: 0 / 0.6769 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.4279, allocations: 20.16 kB / 0.6769 GB, free: 14.57 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003223/0.4311, allocations: 1.53 MB / 0.6784 GB, free: 12.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.4311, allocations: 15.97 kB / 0.6784 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.4332, allocations: 406.2 kB / 0.6788 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.4341, allocations: 0.6604 MB / 0.6795 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.4343, allocations: 239.8 kB / 0.6797 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.4344, allocations: 67.95 kB / 0.6798 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.4358, allocations: 0.8773 MB / 0.6806 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4358, allocations: 0 / 0.6806 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.4359, allocations: 24 kB / 0.6806 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4359, allocations: 16 kB / 0.6806 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.4372, allocations: 0.7548 MB / 0.6814 GB, free: 9.852 MB / 490.7 MB 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.004599/0.4418, allocations: 3.325 MB / 0.6846 GB, free: 6.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/0.4495, allocations: 2.464 MB / 0.687 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.4496, allocations: 8.656 kB / 0.687 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4496, allocations: 39.22 kB / 0.6871 GB, free: 3.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 1.733e-06/0.4496, allocations: 0 / 0.6871 GB, free: 3.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.01112/0.4607, allocations: 3.884 MB / 0.6909 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4608, allocations: 85.77 kB / 0.691 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/0.4615, allocations: 0.676 MB / 0.6916 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.4616, allocations: 41.7 kB / 0.6917 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.4619, allocations: 416.2 kB / 0.6921 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.4621, allocations: 260.2 kB / 0.6923 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.4621, allocations: 12 kB / 0.6923 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.4622, allocations: 334 kB / 0.6926 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/0.463, allocations: 461.8 kB / 0.6931 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.4638, allocations: 0.5445 MB / 0.6936 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.4647, allocations: 488.9 kB / 0.6941 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4647, allocations: 4 kB / 0.6941 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00583/0.4705, allocations: 2.267 MB / 0.6963 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4707, allocations: 0.62 MB / 0.6969 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.4707, allocations: 4 kB / 0.6969 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/0.4749, allocations: 1.164 MB / 0.698 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.4754, allocations: 111.8 kB / 0.6981 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/0.4846, allocations: 5.209 MB / 0.7032 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/0.4855, allocations: 115.3 kB / 0.7033 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.4856, allocations: 27.94 kB / 0.7034 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.4856, allocations: 4 kB / 0.7034 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005581/0.4912, allocations: 2.141 MB / 0.7055 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4912, allocations: 0 / 0.7055 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.4952, allocations: 1.162 MB / 0.7066 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.4957, allocations: 103.8 kB / 0.7067 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.5047, allocations: 5.195 MB / 0.7118 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.5055, allocations: 107.5 kB / 0.7119 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.5055, allocations: 20 kB / 0.7119 GB, free: 9.879 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.506, allocations: 304.3 kB / 0.7122 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5061, allocations: 94.83 kB / 0.7123 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/0.5111, allocations: 2.113 MB / 0.7143 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5111, allocations: 8 kB / 0.7143 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5111, allocations: 7.984 kB / 0.7143 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.5111, allocations: 3.953 kB / 0.7144 GB, free: 7.32 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 postOpt removeSimpleEquations (simulation): time 0.006409/0.5175, allocations: 3.474 MB / 0.7177 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5175, allocations: 4.062 kB / 0.7177 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.518, allocations: 87.77 kB / 0.7178 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.5209, allocations: 0.9887 MB / 0.7188 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.521, allocations: 16 kB / 0.7188 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.5275, allocations: 4.063 MB / 0.7228 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5275, allocations: 3.938 kB / 0.7228 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/0.5332, allocations: 2.787 MB / 0.7255 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5334, allocations: 191.8 kB / 0.7257 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.5336, allocations: 16 kB / 0.7257 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.5343, allocations: 71.94 kB / 0.7258 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.5345, allocations: 124.4 kB / 0.7259 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.5346, allocations: 20 kB / 0.7259 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005936/0.5352, allocations: 0.5342 MB / 0.7264 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5352, allocations: 0 / 0.7264 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001164/0.5364, allocations: 0.5109 MB / 0.7269 GB, free: 10.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.5366, allocations: 155 kB / 0.7271 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006375/0.543, allocations: 3.092 MB / 0.7301 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.543, allocations: 4 kB / 0.7301 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.5455, allocations: 1.253 MB / 0.7313 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5459, allocations: 57.41 kB / 0.7314 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.5493, allocations: 2.355 MB / 0.7337 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.5498, allocations: 1.026 MB / 0.7347 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.5501, allocations: 68.91 kB / 0.7347 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5503, allocations: 43.44 kB / 0.7348 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.5503, allocations: 0 / 0.7348 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of Templates: time 0.02315/0.5734, allocations: 18.36 MB / 0.7527 GB, free: 15.54 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)