Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.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.VoltageSourceReImInputVaryRealAndImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag") [: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.003694/0.003693, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.499/1.499, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.001093/0.001093, allocations: 97.41 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5062/0.5062, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.106e-06/8.316e-06, allocations: 0 / 485.3 MB, free: 3.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3851, allocations: 69.51 MB / 0.5419 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.5219, allocations: 98.73 MB / 0.6383 GB, free: 5.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.5222, allocations: 67.97 kB / 0.6383 GB, free: 5.152 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07012/0.5923, allocations: 24.8 MB / 0.6626 GB, free: 12.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.688e-05/0.5924, allocations: 20 kB / 0.6626 GB, free: 12.14 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.00488/0.5973, allocations: 1.691 MB / 0.6642 GB, free: 10.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5974, allocations: 8.031 kB / 0.6642 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.6004, allocations: 0.5096 MB / 0.6647 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6018, allocations: 0.6553 MB / 0.6654 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.6022, allocations: 337.3 kB / 0.6657 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.6023, allocations: 40 kB / 0.6657 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/0.604, allocations: 0.8163 MB / 0.6665 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.6056, allocations: 0.8173 MB / 0.6673 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.6057, allocations: 0 / 0.6673 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.6058, allocations: 4 kB / 0.6673 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.6058, allocations: 16 kB / 0.6673 GB, free: 7.086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006588/0.6124, allocations: 3.314 MB / 0.6706 GB, free: 3.645 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.6136, allocations: 0.7057 MB / 0.6713 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008539/0.6145, allocations: 0.5352 MB / 0.6718 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.6146, allocations: 24.69 kB / 0.6718 GB, free: 2.355 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6146, allocations: 47.34 kB / 0.6719 GB, free: 2.301 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.547e-06/0.6146, allocations: 0 / 0.6719 GB, free: 2.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.2511/0.8658, allocations: 4.471 MB / 0.6762 GB, free: 143.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8659, allocations: 89.97 kB / 0.6763 GB, free: 143.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.8669, allocations: 0.6672 MB / 0.677 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.8671, allocations: 25.7 kB / 0.677 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.8672, allocations: 288.4 kB / 0.6773 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.8676, allocations: 308.6 kB / 0.6776 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.8676, allocations: 0 / 0.6776 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.8677, allocations: 337 kB / 0.6779 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.8684, allocations: 421.3 kB / 0.6783 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.8692, allocations: 0.5437 MB / 0.6788 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.8699, allocations: 458.5 kB / 0.6793 GB, free: 142.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.8699, allocations: 0 / 0.6793 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01328/0.8832, allocations: 4.578 MB / 0.6837 GB, free: 142.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8832, allocations: 7.594 kB / 0.6837 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.8832, allocations: 3.062 kB / 0.6837 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006417/0.8897, allocations: 1.991 MB / 0.6857 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.8904, allocations: 123 kB / 0.6858 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.9071, allocations: 6.834 MB / 0.6925 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.9089, allocations: 203.1 kB / 0.6927 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.9091, allocations: 33.94 kB / 0.6927 GB, free: 140.4 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 (64): * Single equations (assignments): 62 * 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.0002367/0.9093, allocations: 124 kB / 0.6928 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.9095, allocations: 109 kB / 0.6929 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.9235, allocations: 4.566 MB / 0.6974 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.9235, allocations: 9.312 kB / 0.6974 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9236, allocations: 0 / 0.6974 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.9236, allocations: 8.172 kB / 0.6974 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.9401, allocations: 5.929 MB / 0.7032 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.9402, allocations: 1.188 kB / 0.7032 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.9409, allocations: 106.7 kB / 0.7033 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006398/0.9473, allocations: 1.968 MB / 0.7052 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.9475, allocations: 6.906 kB / 0.7052 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/0.9631, allocations: 6.303 MB / 0.7114 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.9631, allocations: 3.906 kB / 0.7114 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01487/0.978, allocations: 5.442 MB / 0.7167 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.9786, allocations: 197.9 kB / 0.7169 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.9788, allocations: 0 / 0.7169 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.9802, allocations: 171.5 kB / 0.717 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/0.9806, allocations: 129.4 kB / 0.7172 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.9808, allocations: 25.58 kB / 0.7172 GB, free: 136 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007251/0.9815, allocations: 0.5023 MB / 0.7177 GB, free: 135.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001305/0.9828, allocations: 381.9 kB / 0.718 GB, free: 135.8 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 (53): * Single equations (assignments): 51 * 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.0002707/0.9831, allocations: 137 kB / 0.7182 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.9895, allocations: 2.177 MB / 0.7203 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.9895, allocations: 0 / 0.7203 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005512/0.995, allocations: 1.683 MB / 0.7219 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.9959, allocations: 60.02 kB / 0.722 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/1, allocations: 1.395 MB / 0.7234 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/1.001, allocations: 1.115 MB / 0.7245 GB, free: 132.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/1.001, allocations: 0 / 0.7245 GB, free: 132.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03241/1.033, allocations: 20.95 MB / 0.7449 GB, free: 122.6 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)