Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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.CurrentSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant") translateModel(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant") [: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.003026/0.003025, allocations: 181.2 kB / 7.458 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.269/1.269, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.001084/0.001084, allocations: 95.61 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4634/0.4634, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.384e-06, allocations: 0 / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 69.51 MB / 0.5419 GB, free: 21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4622, allocations: 98.22 MB / 0.6378 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4626, allocations: 71.95 kB / 0.6378 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06648/0.5291, allocations: 24.24 MB / 0.6615 GB, free: 13.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.783e-05/0.5292, allocations: 20 kB / 0.6615 GB, free: 13.19 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.004432/0.5336, allocations: 1.644 MB / 0.6631 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.5337, allocations: 8.031 kB / 0.6632 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.5366, allocations: 0.5019 MB / 0.6636 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5377, allocations: 0.6511 MB / 0.6643 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.538, allocations: 341.2 kB / 0.6646 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5382, allocations: 36 kB / 0.6646 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/0.5397, allocations: 0.8084 MB / 0.6654 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5412, allocations: 0.8095 MB / 0.6662 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5412, allocations: 4 kB / 0.6662 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.5413, allocations: 3.906 kB / 0.6662 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5413, allocations: 16 kB / 0.6662 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.5475, allocations: 3.378 MB / 0.6695 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5487, allocations: 0.7299 MB / 0.6703 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.5495, allocations: 0.5235 MB / 0.6708 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5496, allocations: 20.75 kB / 0.6708 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5497, allocations: 47.59 kB / 0.6708 GB, free: 3.316 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/0.5497, allocations: 0 / 0.6708 GB, free: 3.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.1884/0.738, allocations: 4.581 MB / 0.6753 GB, free: 143 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7381, allocations: 89.77 kB / 0.6754 GB, free: 143 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7392, allocations: 0.6392 MB / 0.676 GB, free: 142.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.7394, allocations: 25.7 kB / 0.676 GB, free: 142.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.7396, allocations: 297.7 kB / 0.6763 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.7401, allocations: 300.6 kB / 0.6766 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.7402, allocations: 0 / 0.6766 GB, free: 142.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7404, allocations: 332.4 kB / 0.6769 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.7411, allocations: 412.7 kB / 0.6773 GB, free: 142.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.7419, allocations: 0.5397 MB / 0.6778 GB, free: 142.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.7427, allocations: 452.9 kB / 0.6783 GB, free: 142.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7427, allocations: 0 / 0.6783 GB, free: 142.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01417/0.7569, allocations: 4.675 MB / 0.6828 GB, free: 142 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.757, allocations: 12.19 kB / 0.6829 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.757, allocations: 7.625 kB / 0.6829 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006362/0.7634, allocations: 1.901 MB / 0.6847 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.764, allocations: 102.7 kB / 0.6848 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.7823, allocations: 7.179 MB / 0.6918 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.784, allocations: 191.5 kB / 0.692 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.7842, allocations: 33.72 kB / 0.692 GB, free: 140.3 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 (61): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.7845, allocations: 117.5 kB / 0.6922 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.7847, allocations: 111.1 kB / 0.6923 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.7989, allocations: 4.657 MB / 0.6968 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.799, allocations: 15.91 kB / 0.6968 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.799, allocations: 4.344 kB / 0.6968 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.799, allocations: 8.484 kB / 0.6968 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.8156, allocations: 5.97 MB / 0.7027 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.8156, allocations: 1.375 kB / 0.7027 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.8161, allocations: 77.03 kB / 0.7027 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006331/0.8225, allocations: 1.889 MB / 0.7046 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/0.8228, allocations: 6.031 kB / 0.7046 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.8398, allocations: 6.61 MB / 0.711 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.8399, allocations: 0 / 0.711 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01509/0.855, allocations: 5.515 MB / 0.7164 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.8556, allocations: 188.9 kB / 0.7166 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.8558, allocations: 3.891 kB / 0.7166 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.8571, allocations: 151 kB / 0.7168 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.8574, allocations: 120.5 kB / 0.7169 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.8575, allocations: 24 kB / 0.7169 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005995/0.8581, allocations: 0.4978 MB / 0.7174 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001174/0.8593, allocations: 382.3 kB / 0.7177 GB, free: 135.5 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.8595, allocations: 124.5 kB / 0.7179 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006051/0.8656, allocations: 2.073 MB / 0.7199 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8656, allocations: 7.906 kB / 0.7199 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005206/0.8708, allocations: 1.6 MB / 0.7215 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.8716, allocations: 53.33 kB / 0.7215 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.8753, allocations: 1.378 MB / 0.7229 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.876, allocations: 1.103 MB / 0.7239 GB, free: 132.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.876, allocations: 0 / 0.7239 GB, free: 132.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02838/0.9044, allocations: 20.65 MB / 0.7441 GB, free: 123.5 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)