Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") [: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.003359/0.003359, allocations: 179.4 kB / 7.455 MB, free: 2.508 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.229/1.229, allocations: 221.4 MB / 229.3 MB, free: 3.09 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.0009553/0.0009552, allocations: 97.22 kB / 280.1 MB, free: 1.336 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4225/0.4225, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.721e-06, allocations: 0 / 484.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2404, allocations: 69.35 MB / 0.5407 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3441, allocations: 98.14 MB / 0.6366 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.3444, allocations: 75.95 kB / 0.6366 GB, free: 6.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06162/0.406, allocations: 21.62 MB / 0.6577 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.4061, allocations: 16 kB / 0.6578 GB, free: 0.8047 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003264/0.4094, allocations: 1.297 MB / 0.659 GB, free: 15.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4094, allocations: 8.031 kB / 0.659 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.412, allocations: 402.3 kB / 0.6594 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.4131, allocations: 0.6134 MB / 0.66 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4133, allocations: 130.4 kB / 0.6601 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.4134, allocations: 35.94 kB / 0.6602 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00109/0.4145, allocations: 0.5533 MB / 0.6607 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.4157, allocations: 0.6173 MB / 0.6613 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4158, allocations: 0 / 0.6613 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.4158, allocations: 3.906 kB / 0.6613 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.4159, allocations: 12 kB / 0.6613 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005602/0.4215, allocations: 2.974 MB / 0.6642 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.4229, allocations: 0.6711 MB / 0.6649 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.4236, allocations: 378.8 kB / 0.6653 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.4237, allocations: 12.64 kB / 0.6653 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4237, allocations: 39.22 kB / 0.6653 GB, free: 8.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.214e-06/0.4237, allocations: 0 / 0.6653 GB, free: 8.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006231/0.4299, allocations: 1.992 MB / 0.6673 GB, free: 6.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.43, allocations: 85.75 kB / 0.6673 GB, free: 6.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.4308, allocations: 0.6174 MB / 0.6679 GB, free: 6.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.4309, allocations: 29.7 kB / 0.668 GB, free: 6.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4311, allocations: 256.6 kB / 0.6682 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.4313, allocations: 224.6 kB / 0.6684 GB, free: 5.543 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.4314, allocations: 0 / 0.6684 GB, free: 5.543 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4315, allocations: 337.9 kB / 0.6687 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.4321, allocations: 329.6 kB / 0.6691 GB, free: 4.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.4327, allocations: 409.7 kB / 0.6695 GB, free: 4.461 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.4334, allocations: 372.4 kB / 0.6698 GB, free: 4.102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4334, allocations: 0 / 0.6698 GB, free: 4.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007194/0.4406, allocations: 2.215 MB / 0.672 GB, free: 1.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.4408, allocations: 0.6109 MB / 0.6726 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4408, allocations: 0 / 0.6726 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/0.4453, allocations: 1.039 MB / 0.6736 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.4459, allocations: 115.8 kB / 0.6737 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1459/0.5918, allocations: 4.121 MB / 0.6777 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5929, allocations: 114.8 kB / 0.6778 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.593, allocations: 26.88 kB / 0.6779 GB, free: 144.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.593, allocations: 3.344 kB / 0.6779 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006443/0.5994, allocations: 2.091 MB / 0.6799 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5995, allocations: 3.719 kB / 0.6799 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004143/0.6036, allocations: 1.039 MB / 0.6809 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.6042, allocations: 105.2 kB / 0.681 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.6118, allocations: 4.124 MB / 0.685 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.6128, allocations: 103.7 kB / 0.6851 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.6129, allocations: 26.56 kB / 0.6852 GB, free: 143.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.6131, allocations: 116.5 kB / 0.6853 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.6133, allocations: 91.91 kB / 0.6854 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005602/0.6189, allocations: 2.055 MB / 0.6874 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.6189, allocations: 3.906 kB / 0.6874 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.6189, allocations: 3.531 kB / 0.6874 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6189, allocations: 11.22 kB / 0.6874 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006911/0.6259, allocations: 3.219 MB / 0.6905 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6259, allocations: 0 / 0.6905 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.6265, allocations: 82.52 kB / 0.6906 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/0.6294, allocations: 0.8725 MB / 0.6915 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.6295, allocations: 11.47 kB / 0.6915 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.6348, allocations: 3.105 MB / 0.6945 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6348, allocations: 3.906 kB / 0.6945 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006484/0.6413, allocations: 2.626 MB / 0.6971 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6416, allocations: 191 kB / 0.6973 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.6418, allocations: 6.688 kB / 0.6973 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.6427, allocations: 77.67 kB / 0.6973 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6429, allocations: 62.08 kB / 0.6974 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.643, allocations: 26.25 kB / 0.6974 GB, free: 140.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005939/0.6436, allocations: 479.6 kB / 0.6979 GB, free: 140.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6449, allocations: 446.4 kB / 0.6983 GB, free: 140.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002392/0.6451, allocations: 146.1 kB / 0.6984 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006711/0.6518, allocations: 2.696 MB / 0.7011 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6519, allocations: 0 / 0.7011 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.6546, allocations: 1.098 MB / 0.7021 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.6552, allocations: 51.92 kB / 0.7022 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.6591, allocations: 1.52 MB / 0.7037 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/0.6597, allocations: 1.043 MB / 0.7047 GB, free: 138 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6597, allocations: 0 / 0.7047 GB, free: 138 MB / 490.7 MB Notification: Performance of Templates: time 0.02912/0.6889, allocations: 21.68 MB / 0.7259 GB, free: 137.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)