Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009417/0.0009417, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.254/1.254, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.000893/0.0008929, allocations: 90.47 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4255/0.4255, allocations: 78.07 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.017e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 69.36 MB / 0.5413 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4576, allocations: 98.41 MB / 0.6374 GB, free: 1.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.4579, allocations: 80.48 kB / 0.6375 GB, free: 1.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05795/0.5158, allocations: 22.4 MB / 0.6593 GB, free: 10.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5159, allocations: 0 / 0.6593 GB, free: 10.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.49e-05/0.516, allocations: 22.39 kB / 0.6594 GB, free: 10.71 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003703/0.5197, allocations: 1.321 MB / 0.6607 GB, free: 9.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5197, allocations: 8.031 kB / 0.6607 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.5221, allocations: 398.4 kB / 0.661 GB, free: 8.945 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.5234, allocations: 0.6566 MB / 0.6617 GB, free: 8.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.5236, allocations: 211.5 kB / 0.6619 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.5238, allocations: 44.94 kB / 0.6619 GB, free: 7.965 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/0.5249, allocations: 0.5926 MB / 0.6625 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5261, allocations: 0.6875 MB / 0.6632 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.5261, allocations: 0.5 kB / 0.6632 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.5262, allocations: 0 / 0.6632 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.5262, allocations: 16 kB / 0.6632 GB, free: 6.652 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.005284/0.5315, allocations: 3.2 MB / 0.6663 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/0.539, allocations: 2.276 MB / 0.6685 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.5397, allocations: 400.1 kB / 0.6689 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.5398, allocations: 8.781 kB / 0.6689 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.5398, allocations: 39.3 kB / 0.669 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/0.5398, allocations: 0.8438 kB / 0.669 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of matching and sorting (n=72): time 0.004613/0.5444, allocations: 1.7 MB / 0.6706 GB, free: 14.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.5445, allocations: 85.89 kB / 0.6707 GB, free: 14.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.5454, allocations: 0.6213 MB / 0.6713 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.5455, allocations: 25.7 kB / 0.6713 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.5458, allocations: 420.2 kB / 0.6717 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.546, allocations: 244.3 kB / 0.672 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.546, allocations: 3.938 kB / 0.672 GB, free: 13.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5462, allocations: 341.9 kB / 0.6723 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.5467, allocations: 342.5 kB / 0.6726 GB, free: 12.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.5473, allocations: 425.9 kB / 0.673 GB, free: 12.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.5478, allocations: 374.1 kB / 0.6734 GB, free: 11.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5478, allocations: 0 / 0.6734 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005147/0.553, allocations: 1.923 MB / 0.6753 GB, free: 9.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.5532, allocations: 0.6192 MB / 0.6759 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5532, allocations: 3.953 kB / 0.6759 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003798/0.557, allocations: 1.001 MB / 0.6769 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.5576, allocations: 107.8 kB / 0.677 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.5654, allocations: 4.375 MB / 0.6812 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/0.5663, allocations: 99.31 kB / 0.6813 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/0.5664, allocations: 20 kB / 0.6813 GB, free: 3.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5665, allocations: 4 kB / 0.6814 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005208/0.5717, allocations: 1.804 MB / 0.6831 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5717, allocations: 0 / 0.6831 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.5755, allocations: 0.9938 MB / 0.6841 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.576, allocations: 103.8 kB / 0.6842 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/0.5851, allocations: 4.374 MB / 0.6885 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/0.5861, allocations: 87.39 kB / 0.6885 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.5862, allocations: 27.95 kB / 0.6886 GB, free: 12.03 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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 () * 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.0003052/0.5865, allocations: 129.6 kB / 0.6887 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.5868, allocations: 90.88 kB / 0.6888 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.5912, allocations: 1.771 MB / 0.6905 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.5913, allocations: 11.98 kB / 0.6905 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5913, allocations: 4 kB / 0.6905 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5913, allocations: 3.984 kB / 0.6905 GB, free: 10 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 postOpt removeSimpleEquations (simulation): time 0.009644/0.6009, allocations: 3.052 MB / 0.6935 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.601, allocations: 0 / 0.6935 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.6019, allocations: 91.91 kB / 0.6936 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004705/0.6067, allocations: 0.827 MB / 0.6944 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.911e-05/0.6068, allocations: 12 kB / 0.6944 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009196/0.616, allocations: 3.429 MB / 0.6978 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.616, allocations: 0 / 0.6978 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009177/0.6252, allocations: 2.349 MB / 0.7001 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.6257, allocations: 187.8 kB / 0.7002 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.626, allocations: 3.953 kB / 0.7002 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6274, allocations: 59.94 kB / 0.7003 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.6278, allocations: 120.6 kB / 0.7004 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.6279, allocations: 22.08 kB / 0.7004 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001028/0.629, allocations: 487.2 kB / 0.7009 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.629, allocations: 3.656 kB / 0.7009 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002261/0.6313, allocations: 483.1 kB / 0.7014 GB, free: 14.64 MB / 0.5105 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 () * 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.000351/0.6316, allocations: 140.6 kB / 0.7015 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01045/0.6421, allocations: 2.733 MB / 0.7042 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6421, allocations: 0 / 0.7042 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/0.6464, allocations: 1.124 MB / 0.7053 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.6472, allocations: 56 kB / 0.7053 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.6526, allocations: 1.587 MB / 0.7069 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.6535, allocations: 1.028 MB / 0.7079 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001024/0.6546, allocations: 115.2 kB / 0.708 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.6548, allocations: 39.44 kB / 0.708 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.6549, allocations: 0 / 0.708 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of Templates: time 0.03415/0.689, allocations: 18.18 MB / 0.7258 GB, free: 5.625 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)