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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) [: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.004591/0.004591, allocations: 184.8 kB / 7.463 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.454/1.454, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.001117/0.001117, allocations: 96.52 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.5356/0.5356, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.7291, allocations: 75.64 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/1.183, allocations: 69.49 MB / 0.5419 GB, free: 20.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/1.322, allocations: 98.74 MB / 0.6384 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.323, allocations: 75.95 kB / 0.6384 GB, free: 5.102 MB / 458.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.08028/1.403, allocations: 26.51 MB / 0.6643 GB, free: 10.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.403, allocations: 8 kB / 0.6643 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/1.406, allocations: 0.5135 MB / 0.6648 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/1.408, allocations: 0.6554 MB / 0.6655 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/1.409, allocations: 333.2 kB / 0.6658 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/1.409, allocations: 40 kB / 0.6658 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002126/1.411, allocations: 0.8163 MB / 0.6666 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.413, allocations: 0.8212 MB / 0.6674 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.413, allocations: 0 / 0.6674 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/1.413, allocations: 4 kB / 0.6674 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.413, allocations: 16 kB / 0.6675 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007744/1.421, allocations: 3.309 MB / 0.6707 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/1.422, allocations: 0.7059 MB / 0.6714 GB, free: 2.871 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009445/1.423, allocations: 0.5352 MB / 0.6719 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/1.423, allocations: 16.77 kB / 0.6719 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.423, allocations: 51.28 kB / 0.672 GB, free: 2.254 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.557e-06/1.423, allocations: 0 / 0.672 GB, free: 2.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.2914/1.715, allocations: 4.475 MB / 0.6763 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.715, allocations: 89.5 kB / 0.6764 GB, free: 142.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.716, allocations: 0.6547 MB / 0.6771 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/1.716, allocations: 28.23 kB / 0.6771 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.716, allocations: 292.8 kB / 0.6774 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/1.717, allocations: 299.5 kB / 0.6776 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/1.717, allocations: 0 / 0.6776 GB, free: 142.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/1.717, allocations: 336.8 kB / 0.678 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/1.717, allocations: 431.6 kB / 0.6784 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/1.718, allocations: 0.5391 MB / 0.6789 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/1.719, allocations: 467.1 kB / 0.6794 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.719, allocations: 0 / 0.6794 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01343/1.732, allocations: 4.578 MB / 0.6838 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.732, allocations: 3.406 kB / 0.6838 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.732, allocations: 3.531 kB / 0.6838 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/1.739, allocations: 1.991 MB / 0.6858 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.739, allocations: 126.7 kB / 0.6859 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/1.756, allocations: 6.826 MB / 0.6926 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.757, allocations: 207.8 kB / 0.6928 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.758, allocations: 32.44 kB / 0.6928 GB, free: 139.6 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.0002364/1.758, allocations: 122.5 kB / 0.6929 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.758, allocations: 112.3 kB / 0.693 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.773, allocations: 4.561 MB / 0.6975 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/1.773, allocations: 13.34 kB / 0.6975 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.773, allocations: 1.062 kB / 0.6975 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/1.773, allocations: 6.297 kB / 0.6975 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.791, allocations: 5.929 MB / 0.7033 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.791, allocations: 3.906 kB / 0.7033 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/1.792, allocations: 108.3 kB / 0.7034 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006445/1.798, allocations: 1.963 MB / 0.7053 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/1.799, allocations: 6 kB / 0.7053 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/1.814, allocations: 6.307 MB / 0.7115 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.814, allocations: 0 / 0.7115 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01474/1.829, allocations: 5.453 MB / 0.7168 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01731/1.846, allocations: 6.557 MB / 0.7232 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/1.847, allocations: 201.4 kB / 0.7234 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.847, allocations: 0.5625 kB / 0.7234 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.848, allocations: 163.6 kB / 0.7235 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.849, allocations: 132.2 kB / 0.7237 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/1.849, allocations: 21.72 kB / 0.7237 GB, free: 132.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007277/1.849, allocations: 0.5053 MB / 0.7242 GB, free: 132.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002013/1.851, allocations: 382.9 kB / 0.7246 GB, free: 132.6 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.0002648/1.852, allocations: 140.5 kB / 0.7247 GB, free: 132.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00673/1.858, allocations: 2.177 MB / 0.7268 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.858, allocations: 1.188 kB / 0.7268 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006101/1.865, allocations: 1.693 MB / 0.7285 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/1.866, allocations: 54.55 kB / 0.7285 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/1.87, allocations: 1.393 MB / 0.7299 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/1.871, allocations: 1.12 MB / 0.731 GB, free: 129.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.871, allocations: 8 kB / 0.731 GB, free: 129.4 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.pipe 2>&1)