Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.00194/0.00194, allocations: 182.9 kB / 7.461 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.057/1.057, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008195/0.0008195, allocations: 91.91 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3641/0.3641, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1257/0.4898, allocations: 75.48 MB / 484.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.7358, allocations: 69.35 MB / 0.5408 GB, free: 21.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09898/0.8348, allocations: 96.84 MB / 0.6354 GB, free: 8.164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.8351, allocations: 79.95 kB / 0.6355 GB, free: 8.086 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.07719/0.9123, allocations: 30.08 MB / 0.6649 GB, free: 9.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.9123, allocations: 11.98 kB / 0.6649 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.9151, allocations: 0.5057 MB / 0.6654 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.9163, allocations: 0.7197 MB / 0.6661 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.9166, allocations: 341.3 kB / 0.6664 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.9168, allocations: 43.91 kB / 0.6664 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001497/0.9183, allocations: 0.8397 MB / 0.6673 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.9197, allocations: 0.8446 MB / 0.6681 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9197, allocations: 0 / 0.6681 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.9198, allocations: 0 / 0.6681 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.9198, allocations: 19.94 kB / 0.6681 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.9259, allocations: 3.553 MB / 0.6716 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.9271, allocations: 0.7535 MB / 0.6723 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.9279, allocations: 0.5684 MB / 0.6729 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.9281, allocations: 24.75 kB / 0.6729 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.9281, allocations: 43.34 kB / 0.6729 GB, free: 1.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.324e-06/0.9281, allocations: 0 / 0.6729 GB, free: 1.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.1597/1.088, allocations: 4.839 MB / 0.6777 GB, free: 143.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/1.088, allocations: 94.64 kB / 0.6777 GB, free: 143.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/1.089, allocations: 0.7153 MB / 0.6784 GB, free: 143.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.089, allocations: 29.64 kB / 0.6785 GB, free: 143.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.089, allocations: 290.7 kB / 0.6787 GB, free: 143.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/1.089, allocations: 333.6 kB / 0.6791 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/1.089, allocations: 0 / 0.6791 GB, free: 143.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.567e-05/1.09, allocations: 338.2 kB / 0.6794 GB, free: 142.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/1.09, allocations: 450.5 kB / 0.6798 GB, free: 142.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/1.091, allocations: 0.5745 MB / 0.6804 GB, free: 142.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/1.092, allocations: 495.9 kB / 0.6808 GB, free: 142.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.092, allocations: 1.781 kB / 0.6809 GB, free: 142.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01362/1.105, allocations: 4.961 MB / 0.6857 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.105, allocations: 3.875 kB / 0.6857 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.105, allocations: 6.781 kB / 0.6857 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/1.112, allocations: 2.109 MB / 0.6878 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/1.112, allocations: 116.6 kB / 0.6879 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.129, allocations: 7.786 MB / 0.6955 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.131, allocations: 192.6 kB / 0.6957 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.131, allocations: 38.59 kB / 0.6957 GB, free: 140.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002045/1.131, allocations: 115.8 kB / 0.6958 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.132, allocations: 121.8 kB / 0.6959 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.146, allocations: 4.999 MB / 0.7008 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.146, allocations: 13.25 kB / 0.7008 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.146, allocations: 4.5 kB / 0.7008 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.146, allocations: 6.828 kB / 0.7008 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.162, allocations: 6.37 MB / 0.7071 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.162, allocations: 3.906 kB / 0.7071 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/1.162, allocations: 95.23 kB / 0.7071 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/1.168, allocations: 2.1 MB / 0.7092 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/1.168, allocations: 10.23 kB / 0.7092 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.185, allocations: 7.034 MB / 0.7161 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.185, allocations: 4.516 kB / 0.7161 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01535/1.2, allocations: 5.852 MB / 0.7218 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01646/1.217, allocations: 6.994 MB / 0.7286 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/1.217, allocations: 216.7 kB / 0.7288 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.217, allocations: 1.344 kB / 0.7288 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.219, allocations: 144.4 kB / 0.729 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/1.219, allocations: 130.2 kB / 0.7291 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/1.219, allocations: 27.98 kB / 0.7291 GB, free: 132.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00062/1.22, allocations: 0.5561 MB / 0.7297 GB, free: 132 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001678/1.221, allocations: 409.7 kB / 0.7301 GB, free: 131.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.000219/1.221, allocations: 133.5 kB / 0.7302 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005758/1.227, allocations: 2.182 MB / 0.7323 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.227, allocations: 2.531 kB / 0.7323 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004843/1.232, allocations: 1.693 MB / 0.734 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/1.233, allocations: 64.12 kB / 0.734 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/1.236, allocations: 1.644 MB / 0.7356 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/1.237, allocations: 1.146 MB / 0.7368 GB, free: 125.4 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/1.237, allocations: 0 / 0.7368 GB, free: 125.4 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)