Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 173.8 kB / 12.73 MB, free: 2.586 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.175/1.175, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008579, allocations: 97.02 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4185/0.4185, allocations: 78.02 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.405e-05, allocations: 0 / 491.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 69.34 MB / 0.548 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.376, allocations: 99.35 MB / 0.645 GB, free: 1.051 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3762, allocations: 79.95 kB / 0.6451 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06047/0.4367, allocations: 22.98 MB / 0.6675 GB, free: 9.809 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4367, allocations: 0 / 0.6675 GB, free: 9.809 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.661e-05/0.4368, allocations: 20 kB / 0.6675 GB, free: 9.789 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00303/0.4398, allocations: 1.314 MB / 0.6688 GB, free: 8.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4399, allocations: 11.97 kB / 0.6688 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.442, allocations: 402.3 kB / 0.6692 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/0.443, allocations: 0.637 MB / 0.6698 GB, free: 7.348 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.4432, allocations: 217.8 kB / 0.67 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.4433, allocations: 60.34 kB / 0.6701 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.4446, allocations: 0.737 MB / 0.6708 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4446, allocations: 0 / 0.6708 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.4447, allocations: 24 kB / 0.6708 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4447, allocations: 16 kB / 0.6708 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.4457, allocations: 0.6105 MB / 0.6714 GB, free: 5.641 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 preOpt removeSimpleEquations (simulation): time 0.004782/0.4505, allocations: 3.154 MB / 0.6745 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2543/0.7048, allocations: 3.725 MB / 0.6782 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000874/0.7057, allocations: 415.1 kB / 0.6786 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-05/0.7058, allocations: 8.938 kB / 0.6786 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.7059, allocations: 40.06 kB / 0.6786 GB, free: 107.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.176e-06/0.7059, allocations: 0.9688 kB / 0.6786 GB, free: 107.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.00612/0.712, allocations: 2.001 MB / 0.6806 GB, free: 107.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.7121, allocations: 84.98 kB / 0.6806 GB, free: 107.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.7131, allocations: 0.6725 MB / 0.6813 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.282e-05/0.7132, allocations: 38.89 kB / 0.6813 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.7134, allocations: 401.1 kB / 0.6817 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.7136, allocations: 253.1 kB / 0.682 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.7137, allocations: 12 kB / 0.682 GB, free: 107.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.7138, allocations: 333.9 kB / 0.6823 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.7144, allocations: 354.2 kB / 0.6826 GB, free: 106.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.715, allocations: 453.7 kB / 0.6831 GB, free: 106.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.7157, allocations: 389.7 kB / 0.6834 GB, free: 106.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.7157, allocations: 0.7812 kB / 0.6834 GB, free: 106.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00636/0.7221, allocations: 2.241 MB / 0.6856 GB, free: 106.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.7222, allocations: 0.7116 MB / 0.6863 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7222, allocations: 3.062 kB / 0.6863 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.7259, allocations: 1.061 MB / 0.6874 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.7265, allocations: 101.7 kB / 0.6874 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.7344, allocations: 4.748 MB / 0.6921 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.7355, allocations: 129.5 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.7356, allocations: 26.97 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.7356, allocations: 3.219 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005707/0.7413, allocations: 2.126 MB / 0.6943 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7413, allocations: 4 kB / 0.6943 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/0.7449, allocations: 1.061 MB / 0.6954 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.7454, allocations: 106.3 kB / 0.6955 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.7532, allocations: 4.724 MB / 0.7001 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/0.7542, allocations: 120.5 kB / 0.7002 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.7543, allocations: 28.38 kB / 0.7002 GB, free: 100.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.7545, allocations: 146 kB / 0.7003 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7546, allocations: 94.95 kB / 0.7004 GB, free: 99.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/0.7599, allocations: 2.095 MB / 0.7025 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7599, allocations: 6.531 kB / 0.7025 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7599, allocations: 3.875 kB / 0.7025 GB, free: 99.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.7599, allocations: 7.094 kB / 0.7025 GB, free: 99.36 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.006488/0.7664, allocations: 3.422 MB / 0.7058 GB, free: 97.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.7664, allocations: 11.47 kB / 0.7059 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.767, allocations: 84.72 kB / 0.7059 GB, free: 97.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/0.7696, allocations: 0.8908 MB / 0.7068 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.7697, allocations: 16 kB / 0.7068 GB, free: 97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.7751, allocations: 3.634 MB / 0.7104 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7752, allocations: 0 / 0.7104 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/0.7809, allocations: 2.68 MB / 0.713 GB, free: 91.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.7812, allocations: 187 kB / 0.7132 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.7813, allocations: 16 kB / 0.7132 GB, free: 90.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.7821, allocations: 86.97 kB / 0.7133 GB, free: 90.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/0.7824, allocations: 127.4 kB / 0.7134 GB, free: 90.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.7825, allocations: 16 kB / 0.7134 GB, free: 90.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005498/0.783, allocations: 0.5226 MB / 0.7139 GB, free: 90.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.783, allocations: 4 kB / 0.7139 GB, free: 90.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001187/0.7842, allocations: 0.5154 MB / 0.7144 GB, free: 89.82 MB / 490.7 MB 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.7845, allocations: 161.9 kB / 0.7146 GB, free: 89.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006037/0.7905, allocations: 2.945 MB / 0.7174 GB, free: 86.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7905, allocations: 0 / 0.7174 GB, free: 86.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.793, allocations: 1.189 MB / 0.7186 GB, free: 85.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.7934, allocations: 64.17 kB / 0.7187 GB, free: 85.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.7961, allocations: 1.568 MB / 0.7202 GB, free: 84.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.7965, allocations: 1.017 MB / 0.7212 GB, free: 83.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/0.797, allocations: 120.6 kB / 0.7213 GB, free: 83.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.7972, allocations: 39.23 kB / 0.7213 GB, free: 83.24 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7972, allocations: 0 / 0.7213 GB, free: 83.24 MB / 490.7 MB Notification: Performance of Templates: time 0.02421/0.8214, allocations: 20.87 MB / 0.7417 GB, free: 64.01 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)