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") [: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.002337/0.002337, allocations: 185.3 kB / 7.454 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.188/1.188, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001065/0.001065, allocations: 97.39 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.406/0.406, allocations: 78.07 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/6.011e-06, allocations: 0 / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2427, allocations: 69.35 MB / 0.5407 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.3482, allocations: 98.34 MB / 0.6368 GB, free: 6.586 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3485, allocations: 75.95 kB / 0.6368 GB, free: 6.512 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06351/0.412, allocations: 22.19 MB / 0.6585 GB, free: 140 kB / 474.7 MB Notification: Performance of Transformations before backend: time 5.69e-05/0.4121, allocations: 20.42 kB / 0.6585 GB, free: 120 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.003737/0.4158, allocations: 1.363 MB / 0.6598 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4159, allocations: 8.031 kB / 0.6599 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.4185, allocations: 418.2 kB / 0.6603 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4198, allocations: 0.6605 MB / 0.6609 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.4201, allocations: 211.5 kB / 0.6611 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.4203, allocations: 40 kB / 0.6611 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001208/0.4215, allocations: 0.5923 MB / 0.6617 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4228, allocations: 0.672 MB / 0.6624 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4228, allocations: 11.92 kB / 0.6624 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.4229, allocations: 3.906 kB / 0.6624 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.4229, allocations: 16 kB / 0.6624 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.4289, allocations: 3.415 MB / 0.6657 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4305, allocations: 0.7123 MB / 0.6664 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/0.4311, allocations: 382.8 kB / 0.6668 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.924e-05/0.4312, allocations: 16.64 kB / 0.6668 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4312, allocations: 39.22 kB / 0.6669 GB, free: 7.234 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 2.374e-06/0.4312, allocations: 0 / 0.6669 GB, free: 7.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005311/0.4366, allocations: 1.754 MB / 0.6686 GB, free: 5.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4366, allocations: 85.77 kB / 0.6686 GB, free: 5.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.4375, allocations: 0.6213 MB / 0.6693 GB, free: 4.734 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.4376, allocations: 29.7 kB / 0.6693 GB, free: 4.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4378, allocations: 288.2 kB / 0.6696 GB, free: 4.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.438, allocations: 248.2 kB / 0.6698 GB, free: 4.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.4381, allocations: 3.938 kB / 0.6698 GB, free: 4.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4382, allocations: 330 kB / 0.6701 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.4388, allocations: 345.5 kB / 0.6704 GB, free: 3.496 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.4395, allocations: 433.8 kB / 0.6709 GB, free: 3.047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.4402, allocations: 374.1 kB / 0.6712 GB, free: 2.684 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4402, allocations: 0 / 0.6712 GB, free: 2.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006299/0.4465, allocations: 1.992 MB / 0.6732 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.4467, allocations: 0.6114 MB / 0.6738 GB, free: 12 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4468, allocations: 8 kB / 0.6738 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1493/0.596, allocations: 1.037 MB / 0.6748 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.5968, allocations: 103.8 kB / 0.6749 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.6051, allocations: 4.135 MB / 0.6789 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6062, allocations: 97.53 kB / 0.679 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.6064, allocations: 30.28 kB / 0.679 GB, free: 143.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/0.6064, allocations: 3.938 kB / 0.679 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005713/0.6121, allocations: 1.864 MB / 0.6809 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6121, allocations: 0 / 0.6809 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/0.6164, allocations: 1.031 MB / 0.6819 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.617, allocations: 107.2 kB / 0.682 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/0.625, allocations: 4.136 MB / 0.686 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6261, allocations: 87.08 kB / 0.6861 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6262, allocations: 29.03 kB / 0.6861 GB, free: 142.6 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.0002833/0.6265, allocations: 121 kB / 0.6862 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.6267, allocations: 89.56 kB / 0.6863 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.6315, allocations: 1.823 MB / 0.6881 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.6315, allocations: 15.56 kB / 0.6881 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6315, allocations: 3.969 kB / 0.6881 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.6315, allocations: 3.375 kB / 0.6881 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/0.6381, allocations: 3.048 MB / 0.6911 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6381, allocations: 0 / 0.6911 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.6388, allocations: 88.02 kB / 0.6912 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/0.6417, allocations: 0.8593 MB / 0.692 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.6418, allocations: 7.25 kB / 0.692 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/0.6473, allocations: 3.276 MB / 0.6952 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6473, allocations: 0 / 0.6952 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005805/0.6532, allocations: 2.419 MB / 0.6976 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.6535, allocations: 190.9 kB / 0.6978 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.6537, allocations: 6.094 kB / 0.6978 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.6547, allocations: 65.16 kB / 0.6978 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6548, allocations: 61.33 kB / 0.6979 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.6549, allocations: 16.53 kB / 0.6979 GB, free: 140 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006938/0.6556, allocations: 490.9 kB / 0.6984 GB, free: 139.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001512/0.6572, allocations: 461.5 kB / 0.6988 GB, free: 139.9 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.0002651/0.6574, allocations: 139 kB / 0.699 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00686/0.6643, allocations: 2.69 MB / 0.7016 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6643, allocations: 1.188 kB / 0.7016 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.6671, allocations: 1.102 MB / 0.7027 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.6677, allocations: 47.97 kB / 0.7027 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.6724, allocations: 1.658 MB / 0.7043 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.6732, allocations: 1.072 MB / 0.7054 GB, free: 137.4 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6732, allocations: 1.375 kB / 0.7054 GB, free: 137.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03275/0.706, allocations: 21.65 MB / 0.7265 GB, free: 136.5 MB / 490.7 MB 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)