Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.001242/0.001242, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.221/1.221, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0009261/0.0009262, allocations: 92.28 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4115/0.4115, allocations: 78.07 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.474e-05, allocations: 4 kB / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2899, allocations: 69.33 MB / 0.548 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.402, allocations: 99.35 MB / 0.645 GB, free: 1.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4023, allocations: 83.95 kB / 0.6451 GB, free: 1.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06079/0.4631, allocations: 22.98 MB / 0.6675 GB, free: 9.945 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4631, allocations: 0 / 0.6675 GB, free: 9.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.131e-05/0.4631, allocations: 20 kB / 0.6676 GB, free: 9.926 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.002987/0.4661, allocations: 1.308 MB / 0.6688 GB, free: 8.574 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4662, allocations: 11.97 kB / 0.6688 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.4684, allocations: 398.3 kB / 0.6692 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.4694, allocations: 0.6409 MB / 0.6699 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.4696, allocations: 213.8 kB / 0.6701 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4697, allocations: 64.33 kB / 0.6701 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.471, allocations: 0.737 MB / 0.6708 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.471, allocations: 0 / 0.6708 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.4711, allocations: 28 kB / 0.6709 GB, free: 6.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4711, allocations: 19.98 kB / 0.6709 GB, free: 6.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.4722, allocations: 0.6066 MB / 0.6715 GB, free: 5.781 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.005134/0.4773, allocations: 3.146 MB / 0.6745 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3072/0.7845, allocations: 3.733 MB / 0.6782 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.7859, allocations: 413.8 kB / 0.6786 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.786, allocations: 10.41 kB / 0.6786 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7861, allocations: 38.34 kB / 0.6786 GB, free: 107.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/0.7861, allocations: 0 / 0.6786 GB, free: 107.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.007841/0.7939, allocations: 2 MB / 0.6806 GB, free: 107.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.794, allocations: 84.77 kB / 0.6807 GB, free: 107.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.7953, allocations: 0.6766 MB / 0.6813 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.7954, allocations: 37.45 kB / 0.6814 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.7958, allocations: 400.9 kB / 0.6817 GB, free: 107.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.796, allocations: 252.4 kB / 0.682 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.7961, allocations: 14.25 kB / 0.682 GB, free: 107.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.7962, allocations: 331.2 kB / 0.6823 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.7969, allocations: 355.2 kB / 0.6827 GB, free: 106.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.7978, allocations: 447.4 kB / 0.6831 GB, free: 106.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.7985, allocations: 391.8 kB / 0.6835 GB, free: 106.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7985, allocations: 0.9688 kB / 0.6835 GB, free: 106.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007257/0.8058, allocations: 2.242 MB / 0.6856 GB, free: 106.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.806, allocations: 0.7121 MB / 0.6863 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.806, allocations: 0 / 0.6863 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/0.8101, allocations: 1.06 MB / 0.6874 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.8107, allocations: 109.9 kB / 0.6875 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/0.8188, allocations: 4.747 MB / 0.6921 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.82, allocations: 128.2 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.8201, allocations: 24.42 kB / 0.6923 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/0.8201, allocations: 5.656 kB / 0.6923 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005777/0.8259, allocations: 2.136 MB / 0.6944 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8259, allocations: 0 / 0.6944 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/0.8296, allocations: 1.068 MB / 0.6954 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.8301, allocations: 98.72 kB / 0.6955 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.8381, allocations: 4.732 MB / 0.7001 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8393, allocations: 117.3 kB / 0.7002 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.8394, allocations: 29.66 kB / 0.7003 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.0002389/0.8396, allocations: 137 kB / 0.7004 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8398, allocations: 91.92 kB / 0.7005 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/0.8453, allocations: 2.094 MB / 0.7025 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8453, allocations: 7.688 kB / 0.7025 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.8453, allocations: 10.88 kB / 0.7025 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.8453, allocations: 3.953 kB / 0.7025 GB, free: 99.38 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.006857/0.8522, allocations: 3.423 MB / 0.7059 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.8522, allocations: 3.719 kB / 0.7059 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.8527, allocations: 90.34 kB / 0.706 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.8554, allocations: 0.8899 MB / 0.7068 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.8555, allocations: 12 kB / 0.7069 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005861/0.8614, allocations: 3.643 MB / 0.7104 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8614, allocations: 192 / 0.7104 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006106/0.8675, allocations: 2.675 MB / 0.713 GB, free: 91.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.8678, allocations: 186.6 kB / 0.7132 GB, free: 91.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.868, allocations: 19.75 kB / 0.7132 GB, free: 91.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.8689, allocations: 84.02 kB / 0.7133 GB, free: 91.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.8693, allocations: 131 kB / 0.7134 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.8693, allocations: 16 kB / 0.7134 GB, free: 91.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006166/0.87, allocations: 0.5243 MB / 0.714 GB, free: 90.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.87, allocations: 0 / 0.714 GB, free: 90.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001354/0.8713, allocations: 0.5172 MB / 0.7145 GB, free: 90.11 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.000256/0.8716, allocations: 157.6 kB / 0.7146 GB, free: 89.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.878, allocations: 2.945 MB / 0.7175 GB, free: 87.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.878, allocations: 0 / 0.7175 GB, free: 87.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.8806, allocations: 1.193 MB / 0.7186 GB, free: 86.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.8813, allocations: 67.83 kB / 0.7187 GB, free: 85.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.8843, allocations: 1.557 MB / 0.7202 GB, free: 84.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.8846, allocations: 1.017 MB / 0.7212 GB, free: 83.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.8853, allocations: 117.5 kB / 0.7213 GB, free: 83.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.8855, allocations: 39.38 kB / 0.7214 GB, free: 83.54 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8855, allocations: 0 / 0.7214 GB, free: 83.54 MB / 490.7 MB Notification: Performance of Templates: time 0.02848/0.914, allocations: 20.87 MB / 0.7418 GB, free: 64.28 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)