Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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-master/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-master/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") [: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.002065/0.002065, allocations: 178.2 kB / 7.454 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.318/1.318, 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.0008693/0.0008693, allocations: 100.8 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06627/0.06627, allocations: 12.59 MB / 321.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.295/0.295, allocations: 78.05 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/8.196e-06, allocations: 4 kB / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1599, allocations: 69.33 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.6173, allocations: 98.07 MB / 0.6776 GB, free: 9.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.6177, allocations: 76.05 kB / 0.6777 GB, free: 9.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06103/0.6787, allocations: 22.11 MB / 0.6993 GB, free: 8.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.6789, allocations: 16 kB / 0.6993 GB, free: 8.211 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006129/0.6851, allocations: 1.65 MB / 0.7009 GB, free: 6.629 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.6851, allocations: 19.95 kB / 0.7009 GB, free: 6.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/0.6892, allocations: 0.5625 MB / 0.7015 GB, free: 6.094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.6917, allocations: 0.6824 MB / 0.7021 GB, free: 5.504 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.6921, allocations: 236.2 kB / 0.7024 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.6925, allocations: 47.91 kB / 0.7024 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/0.6945, allocations: 0.752 MB / 0.7031 GB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.6964, allocations: 0.6908 MB / 0.7038 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.6965, allocations: 0 / 0.7038 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.6966, allocations: 0 / 0.7038 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.6966, allocations: 16 kB / 0.7038 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.7037, allocations: 3.146 MB / 0.7069 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.7047, allocations: 0.5096 MB / 0.7074 GB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/0.7056, allocations: 0.5089 MB / 0.7079 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.7057, allocations: 16.77 kB / 0.7079 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.7058, allocations: 46.53 kB / 0.708 GB, free: 1.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.955e-06/0.7058, allocations: 0 / 0.708 GB, free: 1.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.01359/0.7194, allocations: 4.18 MB / 0.712 GB, free: 13.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.7195, allocations: 60.19 kB / 0.7121 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.7209, allocations: 0.6006 MB / 0.7127 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.7211, allocations: 25.7 kB / 0.7127 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.7214, allocations: 289.7 kB / 0.713 GB, free: 12.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/0.7221, allocations: 278.4 kB / 0.7132 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.7222, allocations: 0 / 0.7132 GB, free: 12.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.7224, allocations: 337.6 kB / 0.7136 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.7232, allocations: 403.8 kB / 0.7139 GB, free: 11.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/0.7241, allocations: 0.4945 MB / 0.7144 GB, free: 11.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.725, allocations: 440.1 kB / 0.7149 GB, free: 11.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.725, allocations: 0 / 0.7149 GB, free: 11.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01383/0.7388, allocations: 4.308 MB / 0.7191 GB, free: 7.598 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.7389, allocations: 11.84 kB / 0.7191 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.7389, allocations: 4 kB / 0.7191 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/0.7455, allocations: 1.732 MB / 0.7208 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.7464, allocations: 123.8 kB / 0.7209 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.763, allocations: 6.379 MB / 0.7271 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.7647, allocations: 179.1 kB / 0.7273 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.765, allocations: 30.73 kB / 0.7273 GB, free: 1.047 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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): 61 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004527/0.7654, allocations: 112.9 kB / 0.7274 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.7659, allocations: 102.7 kB / 0.7275 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.7795, allocations: 4.25 MB / 0.7317 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.7796, allocations: 8 kB / 0.7317 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7796, allocations: 4 kB / 0.7317 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/0.7796, allocations: 3.984 kB / 0.7317 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.797, allocations: 5.523 MB / 0.7371 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7971, allocations: 4 kB / 0.7371 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.7979, allocations: 99.88 kB / 0.7372 GB, free: 7.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005796/0.8037, allocations: 1.726 MB / 0.7389 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.8039, allocations: 11.89 kB / 0.7389 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.818, allocations: 5.648 MB / 0.7444 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/0.818, allocations: 0 / 0.7444 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01489/0.8329, allocations: 4.986 MB / 0.7493 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.8337, allocations: 191.6 kB / 0.7494 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.8341, allocations: 3.938 kB / 0.7494 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.8354, allocations: 131.9 kB / 0.7496 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.8358, allocations: 120.6 kB / 0.7497 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8359, allocations: 16 kB / 0.7497 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008467/0.8368, allocations: 475.1 kB / 0.7502 GB, free: 10.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001463/0.8383, allocations: 363.5 kB / 0.7505 GB, free: 10.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.8386, allocations: 127 kB / 0.7506 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005646/0.8443, allocations: 1.857 MB / 0.7524 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8443, allocations: 0 / 0.7524 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004457/0.8488, allocations: 1.397 MB / 0.7538 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.8496, allocations: 59.2 kB / 0.7539 GB, free: 6.586 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.8538, allocations: 1.299 MB / 0.7551 GB, free: 5.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.8549, allocations: 1.09 MB / 0.7562 GB, free: 4.141 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/0.8549, allocations: 0 / 0.7562 GB, free: 4.141 MB / 490.7 MB Notification: Performance of Templates: time 0.03572/0.8906, allocations: 17.44 MB / 0.7732 GB, free: 2.691 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)