Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.VoltageSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant") [: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.003198/0.003198, allocations: 185.9 kB / 7.464 MB, free: 2.5 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.323/1.323, allocations: 221.4 MB / 229.3 MB, free: 2.98 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.001034/0.001034, allocations: 103.8 kB / 280.1 MB, free: 1.207 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5129/0.5129, allocations: 78.91 MB / 409.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.482e-06, allocations: 0 / 485.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3452, allocations: 69.49 MB / 0.5419 GB, free: 20.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.4843, allocations: 98.27 MB / 0.6378 GB, free: 5.559 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4848, allocations: 83.89 kB / 0.6379 GB, free: 5.477 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1259/0.6107, allocations: 24.24 MB / 0.6616 GB, free: 13.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.6109, allocations: 20 kB / 0.6616 GB, free: 13.04 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.005737/0.6166, allocations: 1.648 MB / 0.6632 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6167, allocations: 8.031 kB / 0.6632 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.6201, allocations: 0.498 MB / 0.6637 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.6222, allocations: 0.6589 MB / 0.6643 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005832/0.6228, allocations: 325.3 kB / 0.6646 GB, free: 9.746 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.6232, allocations: 40 kB / 0.6647 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/0.6253, allocations: 0.8084 MB / 0.6655 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.6272, allocations: 0.8173 MB / 0.6663 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6272, allocations: 0 / 0.6663 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.6273, allocations: 7.906 kB / 0.6663 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6274, allocations: 16 kB / 0.6663 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/0.636, allocations: 3.687 MB / 0.6699 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6373, allocations: 0.6953 MB / 0.6706 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000897/0.6382, allocations: 0.5036 MB / 0.6711 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.6384, allocations: 20.56 kB / 0.6711 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6384, allocations: 47.45 kB / 0.6711 GB, free: 2.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 3.807e-06/0.6384, allocations: 0 / 0.6711 GB, free: 2.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.2504/0.8888, allocations: 4.415 MB / 0.6754 GB, free: 143.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.889, allocations: 84.92 kB / 0.6755 GB, free: 143 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.8905, allocations: 0.662 MB / 0.6762 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.8908, allocations: 29.64 kB / 0.6762 GB, free: 142.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.891, allocations: 311 kB / 0.6765 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.8914, allocations: 281.4 kB / 0.6768 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.8916, allocations: 0 / 0.6768 GB, free: 142.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.8917, allocations: 339.1 kB / 0.6771 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.8928, allocations: 411.4 kB / 0.6775 GB, free: 142.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.8941, allocations: 0.548 MB / 0.678 GB, free: 142.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.8953, allocations: 441.8 kB / 0.6784 GB, free: 142.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.8953, allocations: 1.969 kB / 0.6784 GB, free: 142.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.02145/0.9168, allocations: 4.56 MB / 0.6829 GB, free: 141.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.9168, allocations: 11.81 kB / 0.6829 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.9169, allocations: 6.594 kB / 0.6829 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.9276, allocations: 1.991 MB / 0.6849 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.9286, allocations: 101.5 kB / 0.6849 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02841/0.9571, allocations: 6.827 MB / 0.6916 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.9595, allocations: 190.9 kB / 0.6918 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.9597, allocations: 34.61 kB / 0.6918 GB, free: 140.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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.0003386/0.9601, allocations: 117.7 kB / 0.6919 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.9605, allocations: 111.2 kB / 0.692 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/0.9838, allocations: 4.537 MB / 0.6965 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.9839, allocations: 12.31 kB / 0.6965 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.9839, allocations: 8.859 kB / 0.6965 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/0.984, allocations: 4.453 kB / 0.6965 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.007, allocations: 5.774 MB / 0.7021 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.007, allocations: 3.906 kB / 0.7021 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/1.007, allocations: 77.12 kB / 0.7022 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/1.014, allocations: 1.971 MB / 0.7041 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/1.014, allocations: 1.312 kB / 0.7041 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.029, allocations: 6.302 MB / 0.7103 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.029, allocations: 0 / 0.7103 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01424/1.043, allocations: 5.332 MB / 0.7155 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/1.044, allocations: 194.9 kB / 0.7157 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/1.044, allocations: 3.406 kB / 0.7157 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.045, allocations: 144.4 kB / 0.7158 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.045, allocations: 118.8 kB / 0.7159 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/1.045, allocations: 24.28 kB / 0.716 GB, free: 136.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006267/1.046, allocations: 0.5118 MB / 0.7165 GB, free: 135.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001287/1.047, allocations: 373.6 kB / 0.7168 GB, free: 135.9 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 (46): * 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): 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.0002478/1.048, allocations: 130.8 kB / 0.717 GB, free: 135.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006033/1.054, allocations: 2.125 MB / 0.719 GB, free: 135 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.054, allocations: 3.844 kB / 0.719 GB, free: 135 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005314/1.059, allocations: 1.652 MB / 0.7206 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/1.06, allocations: 57 kB / 0.7207 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/1.064, allocations: 1.363 MB / 0.722 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/1.064, allocations: 1.103 MB / 0.7231 GB, free: 133 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.064, allocations: 0 / 0.7231 GB, free: 133 MB / 490.7 MB Notification: Performance of Templates: time 0.02889/1.093, allocations: 20.38 MB / 0.743 GB, free: 124.4 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)