Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",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.002603/0.002603, allocations: 179.8 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.377/1.377, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001157/0.001157, allocations: 101.3 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.6701, allocations: 75.65 MB / 485.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/1.062, allocations: 69.5 MB / 0.5419 GB, free: 20.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/1.203, allocations: 98.64 MB / 0.6383 GB, free: 5.281 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/1.203, allocations: 71.97 kB / 0.6383 GB, free: 5.211 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.07475/1.278, allocations: 26.22 MB / 0.664 GB, free: 10.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.278, allocations: 8 kB / 0.664 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/1.281, allocations: 0.5019 MB / 0.6644 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.283, allocations: 0.659 MB / 0.6651 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004039/1.283, allocations: 333.3 kB / 0.6654 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/1.283, allocations: 51.91 kB / 0.6655 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/1.285, allocations: 0.8123 MB / 0.6663 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.286, allocations: 0.8134 MB / 0.667 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.286, allocations: 0 / 0.667 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/1.286, allocations: 0 / 0.667 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.286, allocations: 16 kB / 0.6671 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/1.293, allocations: 3.297 MB / 0.6703 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.295, allocations: 0.6748 MB / 0.6709 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/1.296, allocations: 0.5312 MB / 0.6715 GB, free: 2.785 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.296, allocations: 16.77 kB / 0.6715 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/1.296, allocations: 43.34 kB / 0.6715 GB, free: 2.719 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.529e-06/1.296, allocations: 0 / 0.6715 GB, free: 2.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2292/1.525, allocations: 4.455 MB / 0.6759 GB, free: 142.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/1.525, allocations: 91.81 kB / 0.676 GB, free: 142.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.526, allocations: 0.6528 MB / 0.6766 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003498/1.527, allocations: 25.7 kB / 0.6766 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/1.527, allocations: 290.8 kB / 0.6769 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/1.527, allocations: 303.7 kB / 0.6772 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/1.527, allocations: 3.656 kB / 0.6772 GB, free: 142.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/1.528, allocations: 337.8 kB / 0.6775 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/1.528, allocations: 415.2 kB / 0.6779 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/1.529, allocations: 0.5338 MB / 0.6784 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/1.53, allocations: 457.8 kB / 0.6789 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.53, allocations: 0 / 0.6789 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01384/1.544, allocations: 4.601 MB / 0.6834 GB, free: 141.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.544, allocations: 3.531 kB / 0.6834 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/1.544, allocations: 5.172 kB / 0.6834 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006509/1.55, allocations: 1.991 MB / 0.6853 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/1.551, allocations: 114.9 kB / 0.6854 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.568, allocations: 6.846 MB / 0.6921 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.57, allocations: 195.3 kB / 0.6923 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.57, allocations: 29.94 kB / 0.6923 GB, free: 139.7 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.0002858/1.57, allocations: 123.4 kB / 0.6924 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.57, allocations: 112.8 kB / 0.6925 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/1.584, allocations: 4.543 MB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.585, allocations: 9.062 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.585, allocations: 1.156 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/1.585, allocations: 8.156 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.602, allocations: 5.948 MB / 0.7028 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.602, allocations: 0 / 0.7028 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/1.603, allocations: 95.73 kB / 0.7029 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006681/1.609, allocations: 1.964 MB / 0.7048 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/1.61, allocations: 8.125 kB / 0.7048 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.626, allocations: 6.301 MB / 0.711 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.626, allocations: 0 / 0.711 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01464/1.64, allocations: 5.413 MB / 0.7163 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0168/1.657, allocations: 6.504 MB / 0.7226 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/1.658, allocations: 191.5 kB / 0.7228 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007001/1.659, allocations: 7.469 kB / 0.7228 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.661, allocations: 153.6 kB / 0.723 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.661, allocations: 121.4 kB / 0.7231 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/1.661, allocations: 22.25 kB / 0.7231 GB, free: 133.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000803/1.662, allocations: 0.504 MB / 0.7236 GB, free: 132.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002064/1.664, allocations: 383.9 kB / 0.7239 GB, free: 132.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.0002565/1.664, allocations: 128.2 kB / 0.7241 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006377/1.671, allocations: 2.155 MB / 0.7262 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.671, allocations: 0 / 0.7262 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005429/1.676, allocations: 1.681 MB / 0.7278 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/1.677, allocations: 57.75 kB / 0.7279 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/1.681, allocations: 1.391 MB / 0.7292 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008605/1.682, allocations: 1.109 MB / 0.7303 GB, free: 129.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/1.682, allocations: 4 kB / 0.7303 GB, free: 129.9 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.pipe 2>&1)