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") [: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.003609/0.003609, allocations: 182.6 kB / 7.458 MB, free: 2.516 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.196/1.196, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.0009257/0.0009256, allocations: 91.67 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4501/0.4501, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.424e-06, allocations: 4 kB / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.278, allocations: 69.51 MB / 0.5419 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3964, allocations: 99.01 MB / 0.6386 GB, free: 4.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3966, allocations: 83.95 kB / 0.6386 GB, free: 4.828 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06233/0.459, allocations: 22.38 MB / 0.6605 GB, free: 14.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.132e-05/0.459, allocations: 16 kB / 0.6605 GB, free: 14.25 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.00326/0.4623, allocations: 1.363 MB / 0.6618 GB, free: 12.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4623, allocations: 8.031 kB / 0.6618 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.4648, allocations: 422.2 kB / 0.6622 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4659, allocations: 0.6526 MB / 0.6629 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.4661, allocations: 219.5 kB / 0.6631 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4663, allocations: 40 kB / 0.6631 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001113/0.4674, allocations: 0.5923 MB / 0.6637 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4686, allocations: 0.6797 MB / 0.6644 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4686, allocations: 0 / 0.6644 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.4687, allocations: 3.906 kB / 0.6644 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4687, allocations: 23.98 kB / 0.6644 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005684/0.4744, allocations: 3.412 MB / 0.6677 GB, free: 6.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.4759, allocations: 0.7045 MB / 0.6684 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.4765, allocations: 386.8 kB / 0.6688 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.4766, allocations: 16.62 kB / 0.6688 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4767, allocations: 39.22 kB / 0.6688 GB, free: 5.359 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.4767, allocations: 0 / 0.6688 GB, free: 5.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005091/0.4818, allocations: 1.762 MB / 0.6706 GB, free: 3.582 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4818, allocations: 85.77 kB / 0.6706 GB, free: 3.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.4827, allocations: 0.6213 MB / 0.6713 GB, free: 2.855 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.4828, allocations: 25.7 kB / 0.6713 GB, free: 2.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.483, allocations: 292.2 kB / 0.6716 GB, free: 2.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.4832, allocations: 244.3 kB / 0.6718 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.4833, allocations: 0 / 0.6718 GB, free: 2.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4835, allocations: 334 kB / 0.6721 GB, free: 1.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.4841, allocations: 349.5 kB / 0.6724 GB, free: 1.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.4847, allocations: 429.9 kB / 0.6729 GB, free: 1.172 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.4854, allocations: 378 kB / 0.6732 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.4854, allocations: 0 / 0.6732 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.1593/0.6447, allocations: 1.988 MB / 0.6752 GB, free: 144.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/0.6448, allocations: 0.6161 MB / 0.6758 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6448, allocations: 0 / 0.6758 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00418/0.649, allocations: 1.033 MB / 0.6768 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.6496, allocations: 112.5 kB / 0.6769 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/0.6572, allocations: 4.128 MB / 0.6809 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6582, allocations: 106.5 kB / 0.681 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.6583, allocations: 27.72 kB / 0.681 GB, free: 142.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.6583, allocations: 3.812 kB / 0.681 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005308/0.6637, allocations: 1.867 MB / 0.6829 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6637, allocations: 4.594 kB / 0.6829 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.6677, allocations: 1.031 MB / 0.6839 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.6682, allocations: 100.8 kB / 0.684 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/0.6754, allocations: 4.136 MB / 0.688 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/0.6763, allocations: 92.88 kB / 0.6881 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.6763, allocations: 23.06 kB / 0.6881 GB, free: 141.2 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.0002384/0.6766, allocations: 128.6 kB / 0.6882 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6767, allocations: 90.25 kB / 0.6883 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.6813, allocations: 1.828 MB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6813, allocations: 11.12 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6813, allocations: 4.75 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6813, allocations: 3.562 kB / 0.6901 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.6872, allocations: 3.046 MB / 0.6931 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6872, allocations: 3.422 kB / 0.6931 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.6878, allocations: 83.67 kB / 0.6932 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/0.6905, allocations: 0.8528 MB / 0.694 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.6906, allocations: 15.42 kB / 0.694 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.6958, allocations: 3.275 MB / 0.6972 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6958, allocations: 1.312 kB / 0.6972 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005316/0.7011, allocations: 2.419 MB / 0.6996 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.7013, allocations: 187.3 kB / 0.6998 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.7015, allocations: 8.562 kB / 0.6998 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/0.7023, allocations: 65.31 kB / 0.6998 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.7025, allocations: 63.83 kB / 0.6999 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.7026, allocations: 17.41 kB / 0.6999 GB, free: 138.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005601/0.7031, allocations: 485.7 kB / 0.7004 GB, free: 138.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001279/0.7044, allocations: 465.6 kB / 0.7008 GB, free: 138.4 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.0002392/0.7047, allocations: 146.5 kB / 0.701 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006264/0.7109, allocations: 2.688 MB / 0.7036 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.711, allocations: 1.531 kB / 0.7036 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002493/0.7135, allocations: 1.097 MB / 0.7047 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.714, allocations: 53.81 kB / 0.7047 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.7179, allocations: 1.65 MB / 0.7063 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.7185, allocations: 1.073 MB / 0.7074 GB, free: 135.9 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7185, allocations: 0 / 0.7074 GB, free: 135.9 MB / 490.7 MB Notification: Performance of Templates: time 0.0278/0.7463, allocations: 21.67 MB / 0.7285 GB, free: 135 MB / 490.7 MB 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)