Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.003313/0.003313, allocations: 177.8 kB / 7.455 MB, free: 2.512 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.327/1.327, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.000937/0.000937, allocations: 89.83 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06946/0.06946, allocations: 12.2 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2843/0.2843, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2918/0.5761, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.7112, allocations: 69.22 MB / 0.5813 GB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/1.126, allocations: 112.4 MB / 0.6911 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.126, allocations: 79.27 kB / 0.6911 GB, free: 12.87 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.1353/1.261, allocations: 45.61 MB / 0.7357 GB, free: 7.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/1.261, allocations: 15.94 kB / 0.7357 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/1.265, allocations: 0.5872 MB / 0.7363 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/1.269, allocations: 1.061 MB / 0.7373 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006234/1.269, allocations: 400.5 kB / 0.7377 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/1.27, allocations: 63.91 kB / 0.7377 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002658/1.273, allocations: 1.135 MB / 0.7389 GB, free: 4.812 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/1.275, allocations: 1.138 MB / 0.74 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/1.275, allocations: 3.938 kB / 0.74 GB, free: 3.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.275, allocations: 3.984 kB / 0.74 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/1.275, allocations: 24 kB / 0.74 GB, free: 3.969 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/1.286, allocations: 4.903 MB / 0.7448 GB, free: 180 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.287, allocations: 0.8022 MB / 0.7456 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.288, allocations: 0.7164 MB / 0.7463 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/1.289, allocations: 33.27 kB / 0.7463 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/1.29, allocations: 0.8673 MB / 0.7471 GB, free: 13.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=137): time 4.057e-06/1.29, allocations: 0 / 0.7471 GB, free: 13.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=137): time 0.01825/1.308, allocations: 5.459 MB / 0.7525 GB, free: 8.477 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/1.308, allocations: 124.1 kB / 0.7526 GB, free: 8.328 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/1.311, allocations: 1.098 MB / 0.7537 GB, free: 7.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004654/1.311, allocations: 33.72 kB / 0.7537 GB, free: 7.184 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/1.311, allocations: 395.5 kB / 0.7541 GB, free: 6.789 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/1.312, allocations: 465 kB / 0.7545 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.312, allocations: 4 kB / 0.7545 GB, free: 6.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/1.312, allocations: 357.8 kB / 0.7549 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.313, allocations: 0.5898 MB / 0.7554 GB, free: 5.379 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.315, allocations: 0.7701 MB / 0.7562 GB, free: 4.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.316, allocations: 0.6545 MB / 0.7568 GB, free: 3.898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.316, allocations: 0 / 0.7568 GB, free: 3.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004192/1.32, allocations: 2.12 MB / 0.7589 GB, free: 1.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005896/1.321, allocations: 1.535 MB / 0.7604 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.321, allocations: 4 kB / 0.7604 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009497/1.33, allocations: 2.663 MB / 0.763 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.331, allocations: 183.7 kB / 0.7632 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/1.338, allocations: 2.95 MB / 0.7661 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.341, allocations: 254.7 kB / 0.7663 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/1.341, allocations: 55.97 kB / 0.7664 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.341, allocations: 4 kB / 0.7664 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003877/1.345, allocations: 1.909 MB / 0.7682 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.345, allocations: 4 kB / 0.7682 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009384/1.354, allocations: 2.639 MB / 0.7708 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.356, allocations: 175.8 kB / 0.771 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/1.362, allocations: 2.845 MB / 0.7737 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/1.364, allocations: 242.9 kB / 0.774 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.364, allocations: 47.98 kB / 0.774 GB, free: 2.062 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cSVGN1.add2.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {32 43} Notification: Performance of prepare postOptimizeDAE: time 0.0004081/1.365, allocations: 132.7 kB / 0.7742 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/1.365, allocations: 169.8 kB / 0.7743 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/1.383, allocations: 5.565 MB / 0.7798 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/1.383, allocations: 16 kB / 0.7798 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.383, allocations: 0 / 0.7798 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-05/1.383, allocations: 7.969 kB / 0.7798 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.404, allocations: 7.493 MB / 0.7871 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.404, allocations: 4 kB / 0.7871 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.406, allocations: 127.8 kB / 0.7872 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00826/1.414, allocations: 2.441 MB / 0.7896 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/1.414, allocations: 11.98 kB / 0.7896 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/1.437, allocations: 8.754 MB / 0.7982 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.437, allocations: 3.984 kB / 0.7982 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02053/1.457, allocations: 6.582 MB / 0.8046 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02216/1.479, allocations: 7.955 MB / 0.8124 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.481, allocations: 282.5 kB / 0.8126 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/1.481, allocations: 4 kB / 0.8126 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.483, allocations: 183.8 kB / 0.8128 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/1.483, allocations: 165 kB / 0.813 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.483, allocations: 35.98 kB / 0.813 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001372/1.485, allocations: 0.8427 MB / 0.8138 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003486/1.488, allocations: 0.7485 MB / 0.8146 GB, free: 8.191 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003919/1.489, allocations: 154.9 kB / 0.8147 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.503, allocations: 4.402 MB / 0.819 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.503, allocations: 0 / 0.819 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006453/1.51, allocations: 1.911 MB / 0.8209 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.511, allocations: 113.4 kB / 0.821 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/1.518, allocations: 2.535 MB / 0.8235 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.519, allocations: 1.418 MB / 0.8248 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/1.519, allocations: 0 / 0.8248 GB, free: 13.56 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)