Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.Tests.Sources.VoltageSourceReImInputVaryReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal") [: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.003492/0.003492, allocations: 169.7 kB / 7.454 MB, free: 2.324 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.338/1.338, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001461/0.00146, allocations: 100.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4923/0.4923, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.244e-06, allocations: 0 / 485.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3685, allocations: 69.5 MB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.5039, allocations: 98.64 MB / 0.6382 GB, free: 5.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5042, allocations: 67.97 kB / 0.6382 GB, free: 5.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07337/0.5775, allocations: 24.55 MB / 0.6622 GB, free: 12.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.77e-05/0.5777, allocations: 16 kB / 0.6622 GB, free: 12.51 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.005677/0.5834, allocations: 1.672 MB / 0.6639 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5834, allocations: 8.031 kB / 0.6639 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.587, allocations: 0.5058 MB / 0.6644 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.5888, allocations: 0.6512 MB / 0.665 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/0.5892, allocations: 337.3 kB / 0.6653 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.5896, allocations: 43.91 kB / 0.6654 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002147/0.5917, allocations: 0.8202 MB / 0.6662 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.5939, allocations: 0.8095 MB / 0.667 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5939, allocations: 0 / 0.667 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.594, allocations: 0 / 0.667 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.5941, allocations: 16 kB / 0.667 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/0.6017, allocations: 3.296 MB / 0.6702 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.603, allocations: 0.6749 MB / 0.6708 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009691/0.604, allocations: 0.5273 MB / 0.6714 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.6041, allocations: 24.75 kB / 0.6714 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.6042, allocations: 39.34 kB / 0.6714 GB, free: 2.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/0.6042, allocations: 0 / 0.6714 GB, free: 2.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2608/0.865, allocations: 4.455 MB / 0.6758 GB, free: 142.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.8651, allocations: 93.03 kB / 0.6759 GB, free: 142.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.8667, allocations: 0.648 MB / 0.6765 GB, free: 142.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003121/0.867, allocations: 25.7 kB / 0.6765 GB, free: 142.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.8672, allocations: 288 kB / 0.6768 GB, free: 142.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/0.8679, allocations: 306.9 kB / 0.6771 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.868, allocations: 0 / 0.6771 GB, free: 142.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8681, allocations: 332.7 kB / 0.6774 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.869, allocations: 422 kB / 0.6778 GB, free: 142.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/0.87, allocations: 0.5307 MB / 0.6783 GB, free: 141.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.8709, allocations: 456 kB / 0.6788 GB, free: 141.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.871, allocations: 3.844 kB / 0.6788 GB, free: 141.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01408/0.885, allocations: 4.6 MB / 0.6833 GB, free: 141.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.8851, allocations: 3.969 kB / 0.6833 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.8851, allocations: 6.219 kB / 0.6833 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006481/0.8916, allocations: 1.993 MB / 0.6852 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.8923, allocations: 118 kB / 0.6853 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/0.9101, allocations: 6.837 MB / 0.692 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.9119, allocations: 195.6 kB / 0.6922 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.9122, allocations: 35.97 kB / 0.6922 GB, free: 140 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(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 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003376/0.9126, allocations: 119.1 kB / 0.6923 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.913, allocations: 109.6 kB / 0.6924 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.9283, allocations: 4.552 MB / 0.6969 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.9284, allocations: 9.156 kB / 0.6969 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.9284, allocations: 1.062 kB / 0.6969 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-05/0.9284, allocations: 4.922 kB / 0.6969 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.9476, allocations: 5.944 MB / 0.7027 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.9476, allocations: 3.906 kB / 0.7027 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.9483, allocations: 99.06 kB / 0.7028 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006899/0.9552, allocations: 1.961 MB / 0.7047 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.9554, allocations: 10.31 kB / 0.7047 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.9712, allocations: 6.304 MB / 0.7109 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.9713, allocations: 0 / 0.7109 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01534/0.9866, allocations: 5.406 MB / 0.7162 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.9872, allocations: 198.6 kB / 0.7164 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.9874, allocations: 0 / 0.7164 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.9887, allocations: 150.7 kB / 0.7165 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.9891, allocations: 127.7 kB / 0.7166 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.9892, allocations: 27.98 kB / 0.7166 GB, free: 135.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006745/0.9899, allocations: 0.5029 MB / 0.7171 GB, free: 135.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001397/0.9913, allocations: 375.3 kB / 0.7175 GB, free: 135.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(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 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.9916, allocations: 124.6 kB / 0.7176 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006605/0.9982, allocations: 2.153 MB / 0.7197 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9983, allocations: 2.531 kB / 0.7197 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005355/1.004, allocations: 1.679 MB / 0.7214 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/1.004, allocations: 55.66 kB / 0.7214 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/1.008, allocations: 1.381 MB / 0.7228 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/1.009, allocations: 1.104 MB / 0.7238 GB, free: 132.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.009, allocations: 0 / 0.7238 GB, free: 132.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02965/1.039, allocations: 20.72 MB / 0.7441 GB, free: 123.6 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe 2>&1)