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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",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.003361/0.003361, allocations: 178.6 kB / 7.455 MB, free: 2.508 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.357/1.357, allocations: 221.4 MB / 229.3 MB, free: 3.168 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.001011/0.001011, allocations: 102.1 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.4832/0.4832, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1798/0.663, allocations: 75.64 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/1.037, allocations: 69.49 MB / 0.5419 GB, free: 20.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/1.174, allocations: 98.64 MB / 0.6383 GB, free: 5.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.174, allocations: 79.94 kB / 0.6383 GB, free: 5.199 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.1021/1.277, allocations: 26.21 MB / 0.6639 GB, free: 10.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.277, allocations: 12 kB / 0.6639 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/1.282, allocations: 0.498 MB / 0.6644 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/1.284, allocations: 0.6552 MB / 0.6651 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/1.285, allocations: 325.3 kB / 0.6654 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/1.286, allocations: 43.91 kB / 0.6654 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003136/1.289, allocations: 0.8163 MB / 0.6662 GB, free: 8.309 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/1.292, allocations: 0.8173 MB / 0.667 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/1.292, allocations: 4 kB / 0.667 GB, free: 7.477 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.292, allocations: 3.984 kB / 0.667 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/1.292, allocations: 16 kB / 0.667 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/1.303, allocations: 3.297 MB / 0.6703 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/1.305, allocations: 0.671 MB / 0.6709 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/1.307, allocations: 0.5351 MB / 0.6714 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/1.307, allocations: 16.77 kB / 0.6715 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/1.307, allocations: 47.28 kB / 0.6715 GB, free: 2.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 5.16e-06/1.307, allocations: 4 kB / 0.6715 GB, free: 2.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2646/1.572, allocations: 4.452 MB / 0.6759 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.572, allocations: 90.81 kB / 0.6759 GB, free: 142.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.573, allocations: 0.6494 MB / 0.6766 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002289/1.573, allocations: 25.7 kB / 0.6766 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/1.574, allocations: 290.2 kB / 0.6769 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/1.574, allocations: 300.3 kB / 0.6772 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.574, allocations: 2.781 kB / 0.6772 GB, free: 142.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/1.574, allocations: 340.6 kB / 0.6775 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/1.575, allocations: 421.1 kB / 0.6779 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/1.576, allocations: 0.5276 MB / 0.6784 GB, free: 141.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/1.577, allocations: 458.3 kB / 0.6788 GB, free: 141.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.577, allocations: 0 / 0.6788 GB, free: 141.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01397/1.591, allocations: 4.605 MB / 0.6833 GB, free: 141.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.591, allocations: 3.719 kB / 0.6833 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.591, allocations: 5.719 kB / 0.6833 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/1.597, allocations: 1.993 MB / 0.6853 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/1.598, allocations: 116 kB / 0.6854 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.615, allocations: 6.84 MB / 0.6921 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.617, allocations: 196.7 kB / 0.6923 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.617, allocations: 29.73 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.0003308/1.618, allocations: 116.5 kB / 0.6924 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/1.618, allocations: 109.1 kB / 0.6925 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.632, allocations: 4.551 MB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/1.633, allocations: 8.594 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.633, allocations: 1.094 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/1.633, allocations: 4.969 kB / 0.697 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/1.651, allocations: 5.954 MB / 0.7028 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.651, allocations: 0 / 0.7028 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/1.652, allocations: 87.38 kB / 0.7029 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006846/1.659, allocations: 1.974 MB / 0.7048 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/1.659, allocations: 4.766 kB / 0.7048 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/1.675, allocations: 6.3 MB / 0.711 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.675, allocations: 1.594 kB / 0.711 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01472/1.69, allocations: 5.407 MB / 0.7162 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01659/1.706, allocations: 6.504 MB / 0.7226 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/1.707, allocations: 199 kB / 0.7228 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/1.708, allocations: 0 / 0.7228 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.709, allocations: 158.1 kB / 0.7229 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.71, allocations: 126.1 kB / 0.7231 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.71, allocations: 21.16 kB / 0.7231 GB, free: 133 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001103/1.711, allocations: 0.5011 MB / 0.7236 GB, free: 132.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002475/1.714, allocations: 381.3 kB / 0.7239 GB, free: 132.7 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.0003287/1.714, allocations: 133.1 kB / 0.7241 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006751/1.721, allocations: 2.158 MB / 0.7262 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.721, allocations: 1.531 kB / 0.7262 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005803/1.727, allocations: 1.672 MB / 0.7278 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.728, allocations: 57.66 kB / 0.7278 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/1.733, allocations: 1.39 MB / 0.7292 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009605/1.734, allocations: 1.115 MB / 0.7303 GB, free: 129.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/1.734, allocations: 2.625 kB / 0.7303 GB, free: 129.8 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.pipe 2>&1)