Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.003443/0.003443, allocations: 180.8 kB / 7.457 MB, free: 2.516 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.313/1.313, allocations: 221.4 MB / 229.3 MB, free: 3 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.001044/0.001044, allocations: 97.78 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.4794/0.4794, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.6513, allocations: 75.64 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/1, allocations: 69.5 MB / 0.5419 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/1.13, allocations: 98.27 MB / 0.6379 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.131, allocations: 67.97 kB / 0.638 GB, free: 5.578 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.07464/1.205, allocations: 25.91 MB / 0.6633 GB, free: 11.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.206, allocations: 8 kB / 0.6633 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/1.209, allocations: 0.498 MB / 0.6638 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.211, allocations: 0.6589 MB / 0.6644 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004574/1.211, allocations: 333.3 kB / 0.6647 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/1.212, allocations: 40 kB / 0.6648 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/1.214, allocations: 0.8084 MB / 0.6656 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.215, allocations: 0.8095 MB / 0.6664 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.215, allocations: 0 / 0.6664 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/1.215, allocations: 7.906 kB / 0.6664 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.215, allocations: 16 kB / 0.6664 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007811/1.223, allocations: 3.704 MB / 0.67 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.225, allocations: 0.6861 MB / 0.6707 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008357/1.225, allocations: 0.5113 MB / 0.6712 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/1.226, allocations: 20.62 kB / 0.6712 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.226, allocations: 35.47 kB / 0.6712 GB, free: 2.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 3.076e-06/1.226, allocations: 4 kB / 0.6712 GB, free: 2.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.2458/1.471, allocations: 4.407 MB / 0.6755 GB, free: 142.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/1.472, allocations: 88.48 kB / 0.6756 GB, free: 142.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/1.473, allocations: 0.6691 MB / 0.6763 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/1.473, allocations: 29.14 kB / 0.6763 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.473, allocations: 304.9 kB / 0.6766 GB, free: 142.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/1.474, allocations: 281.9 kB / 0.6769 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/1.474, allocations: 0 / 0.6769 GB, free: 142.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/1.474, allocations: 343.5 kB / 0.6772 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007214/1.474, allocations: 405.5 kB / 0.6776 GB, free: 142.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/1.475, allocations: 0.551 MB / 0.6781 GB, free: 142 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/1.476, allocations: 445.5 kB / 0.6785 GB, free: 142 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.476, allocations: 3.469 kB / 0.6785 GB, free: 142 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0139/1.49, allocations: 4.567 MB / 0.683 GB, free: 141.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.49, allocations: 9 kB / 0.683 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.49, allocations: 3.406 kB / 0.683 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/1.497, allocations: 1.984 MB / 0.6849 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/1.497, allocations: 109.2 kB / 0.685 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.515, allocations: 6.826 MB / 0.6917 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.517, allocations: 189.2 kB / 0.6919 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.517, allocations: 39.89 kB / 0.6919 GB, free: 140.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * 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): 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.0003505/1.517, allocations: 116.2 kB / 0.692 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/1.518, allocations: 108.3 kB / 0.6921 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.532, allocations: 4.533 MB / 0.6966 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/1.532, allocations: 9.031 kB / 0.6966 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.532, allocations: 5.031 kB / 0.6966 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-05/1.533, allocations: 11.16 kB / 0.6966 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.55, allocations: 5.782 MB / 0.7022 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.55, allocations: 1.375 kB / 0.7022 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/1.551, allocations: 70.28 kB / 0.7023 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006749/1.557, allocations: 1.98 MB / 0.7042 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.558, allocations: 1.375 kB / 0.7042 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.574, allocations: 6.293 MB / 0.7104 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.574, allocations: 0 / 0.7104 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01521/1.59, allocations: 5.334 MB / 0.7156 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01675/1.606, allocations: 6.399 MB / 0.7218 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/1.607, allocations: 197.8 kB / 0.722 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/1.608, allocations: 7.422 kB / 0.722 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.609, allocations: 141.1 kB / 0.7222 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/1.61, allocations: 122.5 kB / 0.7223 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.61, allocations: 20.33 kB / 0.7223 GB, free: 133.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000975/1.611, allocations: 0.5081 MB / 0.7228 GB, free: 133.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002398/1.613, allocations: 380.5 kB / 0.7232 GB, free: 133.3 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 (46): * Single equations (assignments): 44 * 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.0003289/1.614, allocations: 130.9 kB / 0.7233 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007311/1.621, allocations: 2.128 MB / 0.7254 GB, free: 132.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.621, allocations: 0 / 0.7254 GB, free: 132.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006861/1.628, allocations: 1.653 MB / 0.727 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.629, allocations: 56.95 kB / 0.727 GB, free: 131.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/1.635, allocations: 1.376 MB / 0.7284 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.636, allocations: 1.11 MB / 0.7295 GB, free: 130.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.636, allocations: 0 / 0.7295 GB, free: 130.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.pipe 2>&1)