Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.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.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") [: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.00286/0.00286, allocations: 176.5 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.386/1.386, allocations: 221.4 MB / 229.3 MB, free: 3.238 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.000996/0.0009961, allocations: 90.34 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4972/0.4972, allocations: 78.93 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.373e-06, allocations: 0 / 485.3 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3573, allocations: 69.51 MB / 0.5419 GB, free: 21.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4951, allocations: 98.63 MB / 0.6382 GB, free: 5.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4954, allocations: 75.95 kB / 0.6382 GB, free: 5.223 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07217/0.5676, allocations: 24.51 MB / 0.6622 GB, free: 12.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.713e-05/0.5677, allocations: 20 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.005503/0.5732, allocations: 1.674 MB / 0.6638 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5733, allocations: 15.97 kB / 0.6639 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.5767, allocations: 0.4941 MB / 0.6643 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.5785, allocations: 0.663 MB / 0.665 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004572/0.579, allocations: 329.3 kB / 0.6653 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.5793, allocations: 47.91 kB / 0.6653 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001964/0.5813, allocations: 0.8123 MB / 0.6661 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.5831, allocations: 0.8095 MB / 0.6669 GB, free: 7.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.5831, allocations: 3.938 kB / 0.6669 GB, free: 7.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.5832, allocations: 7.969 kB / 0.6669 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5833, allocations: 20 kB / 0.667 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007418/0.5907, allocations: 3.286 MB / 0.6702 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5919, allocations: 0.6787 MB / 0.6708 GB, free: 3.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/0.5929, allocations: 0.535 MB / 0.6714 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.593, allocations: 12.78 kB / 0.6714 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5931, allocations: 51.27 kB / 0.6714 GB, free: 2.746 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.405e-06/0.5931, allocations: 0 / 0.6714 GB, free: 2.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.224/0.8171, allocations: 4.448 MB / 0.6758 GB, free: 143.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.8171, allocations: 93.34 kB / 0.6758 GB, free: 143.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.8181, allocations: 0.6475 MB / 0.6765 GB, free: 143 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.8183, allocations: 25.7 kB / 0.6765 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.8184, allocations: 297.6 kB / 0.6768 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.8187, allocations: 301 kB / 0.6771 GB, free: 142.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.8188, allocations: 0 / 0.6771 GB, free: 142.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.8188, allocations: 337.6 kB / 0.6774 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.8195, allocations: 419.8 kB / 0.6778 GB, free: 142.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.8202, allocations: 0.5264 MB / 0.6783 GB, free: 142.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.8209, allocations: 458.2 kB / 0.6787 GB, free: 142.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8209, allocations: 0 / 0.6787 GB, free: 142.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01341/0.8343, allocations: 4.598 MB / 0.6832 GB, free: 142.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8343, allocations: 4.094 kB / 0.6832 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8344, allocations: 6.969 kB / 0.6832 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006146/0.8405, allocations: 1.993 MB / 0.6852 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.8411, allocations: 115 kB / 0.6853 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.8572, allocations: 6.84 MB / 0.692 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8588, allocations: 196.8 kB / 0.6922 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/0.8589, allocations: 30.8 kB / 0.6922 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 (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.0002282/0.8591, allocations: 123.6 kB / 0.6923 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.8593, allocations: 109.6 kB / 0.6924 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.8731, allocations: 4.547 MB / 0.6969 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.8731, allocations: 9.531 kB / 0.6969 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8732, allocations: 1.031 kB / 0.6969 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.8732, allocations: 3.047 kB / 0.6969 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.8896, allocations: 5.952 MB / 0.7027 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8897, allocations: 5.281 kB / 0.7027 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.8903, allocations: 96 kB / 0.7028 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006464/0.8968, allocations: 1.968 MB / 0.7047 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.897, allocations: 3.781 kB / 0.7047 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.9123, allocations: 6.297 MB / 0.7109 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9124, allocations: 0 / 0.7109 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0145/0.9269, allocations: 5.403 MB / 0.7161 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.9274, allocations: 197.5 kB / 0.7163 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.9278, allocations: 6.719 kB / 0.7163 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.9293, allocations: 154.4 kB / 0.7165 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.9297, allocations: 132.7 kB / 0.7166 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.9298, allocations: 25.56 kB / 0.7166 GB, free: 136 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007626/0.9306, allocations: 0.503 MB / 0.7171 GB, free: 135.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001537/0.9321, allocations: 373.4 kB / 0.7175 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 (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.0002789/0.9324, allocations: 126.6 kB / 0.7176 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006415/0.9389, allocations: 2.159 MB / 0.7197 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9389, allocations: 0 / 0.7197 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005587/0.9445, allocations: 1.669 MB / 0.7213 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.001075/0.9456, allocations: 58.28 kB / 0.7214 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.9504, allocations: 1.381 MB / 0.7227 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.9514, allocations: 1.109 MB / 0.7238 GB, free: 132.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.9515, allocations: 0 / 0.7238 GB, free: 132.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03096/0.9824, allocations: 20.71 MB / 0.744 GB, free: 123.6 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)