Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 179.1 kB / 7.463 MB, free: 2.484 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.027/1.027, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0008231/0.0008231, allocations: 101.3 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3471/0.3471, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.869e-06, allocations: 0 / 484.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 69.35 MB / 0.5408 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09564/0.3095, allocations: 98.33 MB / 0.6368 GB, free: 6.656 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3098, allocations: 79.95 kB / 0.6369 GB, free: 6.578 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05426/0.364, allocations: 22.18 MB / 0.6585 GB, free: 216 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.3641, allocations: 16.44 kB / 0.6585 GB, free: 200 kB / 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.002953/0.3671, allocations: 1.375 MB / 0.6599 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3671, allocations: 12.03 kB / 0.6599 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.3693, allocations: 410.2 kB / 0.6603 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3704, allocations: 0.6683 MB / 0.6609 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3706, allocations: 207.5 kB / 0.6611 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3707, allocations: 36 kB / 0.6612 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009926/0.3717, allocations: 0.6001 MB / 0.6618 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3727, allocations: 0.6758 MB / 0.6624 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3728, allocations: 4 kB / 0.6624 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.3728, allocations: 3.906 kB / 0.6624 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.3729, allocations: 16 kB / 0.6624 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.3778, allocations: 3.41 MB / 0.6658 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3791, allocations: 0.7123 MB / 0.6665 GB, free: 7.746 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.3797, allocations: 386.8 kB / 0.6668 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.3797, allocations: 16.58 kB / 0.6668 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3798, allocations: 39.22 kB / 0.6669 GB, free: 7.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 1.763e-06/0.3798, allocations: 4 kB / 0.6669 GB, free: 7.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004577/0.3844, allocations: 1.758 MB / 0.6686 GB, free: 5.527 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3844, allocations: 89.69 kB / 0.6687 GB, free: 5.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.3851, allocations: 0.6331 MB / 0.6693 GB, free: 4.785 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.3852, allocations: 25.7 kB / 0.6693 GB, free: 4.754 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3854, allocations: 280.2 kB / 0.6696 GB, free: 4.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.3856, allocations: 248.2 kB / 0.6698 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3857, allocations: 3.938 kB / 0.6698 GB, free: 4.223 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3858, allocations: 334 kB / 0.6702 GB, free: 3.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.3863, allocations: 337.6 kB / 0.6705 GB, free: 3.562 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.3869, allocations: 429.9 kB / 0.6709 GB, free: 3.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.3875, allocations: 374 kB / 0.6712 GB, free: 2.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3875, allocations: 0 / 0.6712 GB, free: 2.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005463/0.393, allocations: 1.992 MB / 0.6732 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.3931, allocations: 0.623 MB / 0.6738 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3931, allocations: 0 / 0.6738 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1245/0.5177, allocations: 1.025 MB / 0.6748 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.5183, allocations: 112.5 kB / 0.6749 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.5251, allocations: 4.13 MB / 0.6789 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.526, allocations: 99.55 kB / 0.679 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.5261, allocations: 31.11 kB / 0.6791 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.5261, allocations: 3.344 kB / 0.6791 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004879/0.531, allocations: 1.865 MB / 0.6809 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.531, allocations: 2.625 kB / 0.6809 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/0.5347, allocations: 1.029 MB / 0.6819 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.5352, allocations: 102.2 kB / 0.682 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/0.5419, allocations: 4.132 MB / 0.686 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.5428, allocations: 87.72 kB / 0.6861 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.5429, allocations: 31.3 kB / 0.6861 GB, free: 142.4 MB / 490.7 MB 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.0002261/0.5431, allocations: 128.9 kB / 0.6863 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5432, allocations: 89.59 kB / 0.6864 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.5474, allocations: 1.824 MB / 0.6881 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5474, allocations: 11.31 kB / 0.6881 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5474, allocations: 6.719 kB / 0.6882 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5474, allocations: 3.844 kB / 0.6882 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/0.5528, allocations: 3.046 MB / 0.6911 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5528, allocations: 0 / 0.6911 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.5533, allocations: 84.31 kB / 0.6912 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.5558, allocations: 0.8539 MB / 0.692 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.5559, allocations: 3.875 kB / 0.692 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.5607, allocations: 3.286 MB / 0.6953 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5607, allocations: 0 / 0.6953 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004888/0.5656, allocations: 2.42 MB / 0.6976 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.5658, allocations: 188.1 kB / 0.6978 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5659, allocations: 10.03 kB / 0.6978 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/0.5667, allocations: 61.89 kB / 0.6979 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.5669, allocations: 61.5 kB / 0.6979 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.567, allocations: 18.09 kB / 0.6979 GB, free: 139.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005306/0.5675, allocations: 489.9 kB / 0.6984 GB, free: 139.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001187/0.5687, allocations: 469.1 kB / 0.6989 GB, free: 139.6 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: 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.0002285/0.5689, allocations: 144.2 kB / 0.699 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005823/0.5747, allocations: 2.686 MB / 0.7016 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5748, allocations: 384 / 0.7016 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.5771, allocations: 1.102 MB / 0.7027 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.5776, allocations: 60.47 kB / 0.7028 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.5814, allocations: 1.648 MB / 0.7044 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.5819, allocations: 1.071 MB / 0.7054 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5819, allocations: 0 / 0.7054 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02554/0.6075, allocations: 21.65 MB / 0.7265 GB, free: 136.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)