Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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 3.2.3+maint.om/package.mo): time 0.005694/0.005693, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 85.73 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08739/0.08739, allocations: 12.19 MB / 321.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2896/0.2896, allocations: 78.06 MB / 449.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3149/0.6046, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.7407, allocations: 69.23 MB / 0.5813 GB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/1.111, allocations: 97.62 MB / 0.6766 GB, free: 9.688 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.111, allocations: 77.64 kB / 0.6767 GB, free: 9.676 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.05945/1.171, allocations: 21.84 MB / 0.698 GB, free: 9.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.171, allocations: 12.97 kB / 0.698 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/1.174, allocations: 495.9 kB / 0.6985 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.175, allocations: 0.5823 MB / 0.6991 GB, free: 8.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/1.175, allocations: 160.1 kB / 0.6992 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/1.176, allocations: 43.73 kB / 0.6993 GB, free: 7.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/1.177, allocations: 0.7132 MB / 0.6999 GB, free: 7.551 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/1.178, allocations: 0.6391 MB / 0.7006 GB, free: 7.113 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.179, allocations: 0 / 0.7006 GB, free: 7.113 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/1.179, allocations: 3.984 kB / 0.7006 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.179, allocations: 16 kB / 0.7006 GB, free: 7.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/1.184, allocations: 2.438 MB / 0.703 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/1.185, allocations: 0.6028 MB / 0.7036 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006934/1.186, allocations: 496 kB / 0.704 GB, free: 4.516 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.186, allocations: 12.77 kB / 0.704 GB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.186, allocations: 53.86 kB / 0.7041 GB, free: 4.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.667e-06/1.186, allocations: 0 / 0.7041 GB, free: 4.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.01172/1.198, allocations: 3.66 MB / 0.7077 GB, free: 1.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.198, allocations: 67.78 kB / 0.7077 GB, free: 1.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009235/1.199, allocations: 0.5843 MB / 0.7083 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.199, allocations: 25.7 kB / 0.7083 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.199, allocations: 251.9 kB / 0.7086 GB, free: 500 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.199, allocations: 286.6 kB / 0.7088 GB, free: 244 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/1.2, allocations: 0 / 0.7088 GB, free: 244 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/1.2, allocations: 332.1 kB / 0.7092 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/1.2, allocations: 386.3 kB / 0.7095 GB, free: 15.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/1.201, allocations: 464.8 kB / 0.71 GB, free: 15.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/1.202, allocations: 415.8 kB / 0.7104 GB, free: 15.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.202, allocations: 0 / 0.7104 GB, free: 15.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0121/1.214, allocations: 3.726 MB / 0.714 GB, free: 11.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.214, allocations: 8 kB / 0.714 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.214, allocations: 0 / 0.714 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005921/1.22, allocations: 1.536 MB / 0.7155 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/1.221, allocations: 123.3 kB / 0.7156 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.234, allocations: 6.082 MB / 0.7216 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.236, allocations: 147.3 kB / 0.7217 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/1.236, allocations: 31.61 kB / 0.7217 GB, free: 5.805 MB / 458.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002944/1.236, allocations: 131.5 kB / 0.7219 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/1.236, allocations: 98.78 kB / 0.722 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.248, allocations: 3.732 MB / 0.7256 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.248, allocations: 11.94 kB / 0.7256 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.248, allocations: 4 kB / 0.7256 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.248, allocations: 3.984 kB / 0.7256 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.262, allocations: 5.019 MB / 0.7305 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.262, allocations: 0 / 0.7305 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/1.262, allocations: 111.4 kB / 0.7306 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005555/1.268, allocations: 1.499 MB / 0.7321 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/1.268, allocations: 3.812 kB / 0.7321 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.281, allocations: 5.3 MB / 0.7373 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.281, allocations: 4 kB / 0.7373 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01295/1.294, allocations: 4.408 MB / 0.7416 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01386/1.308, allocations: 5.437 MB / 0.7469 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/1.308, allocations: 191.6 kB / 0.7471 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/1.308, allocations: 0 / 0.7471 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.309, allocations: 115.9 kB / 0.7472 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.31, allocations: 100.6 kB / 0.7473 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/1.31, allocations: 16 kB / 0.7473 GB, free: 13.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005947/1.31, allocations: 463.1 kB / 0.7477 GB, free: 13.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001624/1.312, allocations: 335.5 kB / 0.7481 GB, free: 12.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {20 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003129/1.312, allocations: 127 kB / 0.7482 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004633/1.317, allocations: 1.669 MB / 0.7498 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.317, allocations: 0 / 0.7498 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/1.321, allocations: 1.226 MB / 0.751 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/1.321, allocations: 51.3 kB / 0.7511 GB, free: 9.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/1.325, allocations: 1.314 MB / 0.7523 GB, free: 8.379 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/1.326, allocations: 1.081 MB / 0.7534 GB, free: 7.273 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/1.326, allocations: 0 / 0.7534 GB, free: 7.273 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)