Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",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.004788/0.004788, 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 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.000921/0.000921, allocations: 96.8 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07625/0.07625, allocations: 12.19 MB / 321.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2898/0.2898, allocations: 78.04 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2848/0.5746, allocations: 76.08 MB / 0.5137 GB, free: 30.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.7174, allocations: 69.24 MB / 0.5813 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/1.138, allocations: 107.1 MB / 0.6859 GB, free: 2.164 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.138, allocations: 76.95 kB / 0.686 GB, free: 2.125 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.113/1.251, allocations: 37.37 MB / 0.7225 GB, free: 3.316 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/1.251, allocations: 15.94 kB / 0.7225 GB, free: 3.301 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003913/1.255, allocations: 0.5525 MB / 0.723 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/1.257, allocations: 0.8435 MB / 0.7239 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005178/1.258, allocations: 329.3 kB / 0.7242 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/1.258, allocations: 59.83 kB / 0.7242 GB, free: 1.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002426/1.261, allocations: 0.9384 MB / 0.7251 GB, free: 1.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/1.263, allocations: 0.9246 MB / 0.726 GB, free: 464 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.263, allocations: 4 kB / 0.7261 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.263, allocations: 3.984 kB / 0.7261 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/1.263, allocations: 20 kB / 0.7261 GB, free: 436 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0095/1.273, allocations: 4.05 MB / 0.73 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/1.274, allocations: 0.8709 MB / 0.7309 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/1.275, allocations: 0.6267 MB / 0.7315 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/1.275, allocations: 20.97 kB / 0.7315 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.275, allocations: 47.41 kB / 0.7316 GB, free: 12.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 3.587e-06/1.275, allocations: 0 / 0.7316 GB, free: 12.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01684/1.292, allocations: 5.058 MB / 0.7365 GB, free: 7.891 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/1.292, allocations: 98.02 kB / 0.7366 GB, free: 7.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.294, allocations: 0.8916 MB / 0.7375 GB, free: 7.133 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/1.295, allocations: 29.7 kB / 0.7375 GB, free: 7.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/1.295, allocations: 319 kB / 0.7378 GB, free: 6.836 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/1.295, allocations: 384.9 kB / 0.7382 GB, free: 6.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/1.295, allocations: 3.938 kB / 0.7382 GB, free: 6.496 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/1.296, allocations: 350.3 kB / 0.7385 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000842/1.296, allocations: 496.6 kB / 0.739 GB, free: 5.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/1.297, allocations: 0.622 MB / 0.7396 GB, free: 5.484 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/1.299, allocations: 0.5447 MB / 0.7401 GB, free: 5.172 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.299, allocations: 0 / 0.7401 GB, free: 5.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00372/1.302, allocations: 1.764 MB / 0.7418 GB, free: 3.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.303, allocations: 4 kB / 0.7418 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.303, allocations: 4 kB / 0.7418 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/1.311, allocations: 2.361 MB / 0.7441 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/1.312, allocations: 135.8 kB / 0.7443 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/1.318, allocations: 2.531 MB / 0.7467 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.321, allocations: 207 kB / 0.7469 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/1.321, allocations: 35.98 kB / 0.747 GB, free: 14.11 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 (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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002788/1.321, allocations: 116.9 kB / 0.7471 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/1.322, allocations: 142.3 kB / 0.7472 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/1.337, allocations: 5.087 MB / 0.7522 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/1.338, allocations: 8 kB / 0.7522 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.338, allocations: 7.938 kB / 0.7522 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.338, allocations: 7.969 kB / 0.7522 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.357, allocations: 6.664 MB / 0.7587 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.357, allocations: 0 / 0.7587 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.358, allocations: 115.8 kB / 0.7588 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007331/1.365, allocations: 2.068 MB / 0.7609 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/1.366, allocations: 11.98 kB / 0.7609 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/1.386, allocations: 7.164 MB / 0.7679 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.386, allocations: 0 / 0.7679 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01787/1.404, allocations: 6.049 MB / 0.7738 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01941/1.424, allocations: 7.279 MB / 0.7809 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008/1.424, allocations: 243.1 kB / 0.7811 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/1.425, allocations: 8 kB / 0.7811 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.426, allocations: 147.8 kB / 0.7813 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/1.427, allocations: 140.7 kB / 0.7814 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.427, allocations: 28 kB / 0.7814 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001239/1.428, allocations: 0.6982 MB / 0.7821 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001998/1.43, allocations: 411.8 kB / 0.7825 GB, free: 9.414 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003628/1.43, allocations: 144.2 kB / 0.7826 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00686/1.437, allocations: 2.175 MB / 0.7848 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.437, allocations: 0 / 0.7848 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00575/1.443, allocations: 1.733 MB / 0.7864 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.444, allocations: 76.72 kB / 0.7865 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/1.45, allocations: 2.042 MB / 0.7885 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.451, allocations: 1.248 MB / 0.7897 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.451, allocations: 0 / 0.7897 GB, free: 1.914 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)