Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant") [: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.001887/0.001888, allocations: 173.9 kB / 7.458 MB, free: 2.488 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.05/1.05, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008668/0.0008668, allocations: 96.89 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.3647/0.3647, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.079e-06/5.189e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 69.35 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09587/0.3316, allocations: 95.63 MB / 0.6341 GB, free: 9.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.3319, allocations: 71.97 kB / 0.6342 GB, free: 9.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05042/0.3823, allocations: 20.36 MB / 0.6541 GB, free: 4.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.863e-05/0.3824, allocations: 20 kB / 0.6541 GB, free: 4.684 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003733/0.3861, allocations: 1.476 MB / 0.6556 GB, free: 3.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3862, allocations: 8.031 kB / 0.6556 GB, free: 3.152 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.389, allocations: 486.1 kB / 0.656 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.39, allocations: 0.5809 MB / 0.6566 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.3902, allocations: 168.1 kB / 0.6568 GB, free: 1.867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.3904, allocations: 32 kB / 0.6568 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001299/0.3917, allocations: 0.686 MB / 0.6575 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3928, allocations: 0.6286 MB / 0.6581 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3929, allocations: 0 / 0.6581 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.3929, allocations: 0 / 0.6581 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.393, allocations: 16 kB / 0.6581 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.3973, allocations: 2.406 MB / 0.6604 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.3981, allocations: 0.5392 MB / 0.661 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/0.3987, allocations: 476.8 kB / 0.6614 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.454e-05/0.3988, allocations: 16.64 kB / 0.6614 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3989, allocations: 39.22 kB / 0.6615 GB, free: 12.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=79): time 1.813e-06/0.3989, allocations: 0 / 0.6615 GB, free: 12.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=79): time 0.01046/0.4094, allocations: 3.579 MB / 0.665 GB, free: 9.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4094, allocations: 60.06 kB / 0.665 GB, free: 9.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.4101, allocations: 0.5709 MB / 0.6656 GB, free: 8.688 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.4101, allocations: 29.69 kB / 0.6656 GB, free: 8.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4103, allocations: 256.6 kB / 0.6659 GB, free: 8.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.4105, allocations: 264 kB / 0.6661 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.4106, allocations: 0 / 0.6661 GB, free: 8.137 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4107, allocations: 334 kB / 0.6664 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.4113, allocations: 365.5 kB / 0.6668 GB, free: 7.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.4119, allocations: 449.7 kB / 0.6672 GB, free: 6.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.4126, allocations: 399.1 kB / 0.6676 GB, free: 6.594 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4126, allocations: 0 / 0.6676 GB, free: 6.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.01028/0.4229, allocations: 3.586 MB / 0.6711 GB, free: 2.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4229, allocations: 4 kB / 0.6711 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4229, allocations: 0 / 0.6711 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.4279, allocations: 1.468 MB / 0.6725 GB, free: 1.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.4286, allocations: 115.9 kB / 0.6726 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1555/0.5842, allocations: 5.757 MB / 0.6783 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.5852, allocations: 154 kB / 0.6784 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.5852, allocations: 27.16 kB / 0.6784 GB, free: 144.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (54): * Single equations (assignments): 53 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5854, allocations: 124.1 kB / 0.6785 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5856, allocations: 92.53 kB / 0.6786 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/0.5951, allocations: 3.637 MB / 0.6822 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.5951, allocations: 9.75 kB / 0.6822 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.5951, allocations: 3.125 kB / 0.6822 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5951, allocations: 3.422 kB / 0.6822 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.6054, allocations: 4.743 MB / 0.6868 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6054, allocations: 0 / 0.6868 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.606, allocations: 107.8 kB / 0.6869 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/0.6102, allocations: 1.438 MB / 0.6883 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/0.6103, allocations: 3 kB / 0.6883 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009655/0.62, allocations: 5.025 MB / 0.6932 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.62, allocations: 0 / 0.6932 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01103/0.6311, allocations: 4.302 MB / 0.6974 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.6313, allocations: 179.5 kB / 0.6976 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.6315, allocations: 3.281 kB / 0.6976 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.6324, allocations: 116.2 kB / 0.6977 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.6327, allocations: 100.6 kB / 0.6978 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.6328, allocations: 18.19 kB / 0.6978 GB, free: 141.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005676/0.6334, allocations: 452.6 kB / 0.6983 GB, free: 141.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009627/0.6343, allocations: 312.2 kB / 0.6986 GB, free: 141.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.6346, allocations: 139.3 kB / 0.6987 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.6387, allocations: 1.624 MB / 0.7003 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6387, allocations: 4.062 kB / 0.7003 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.6418, allocations: 1.2 MB / 0.7015 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6423, allocations: 58.75 kB / 0.7015 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.6454, allocations: 1.243 MB / 0.7027 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.6461, allocations: 1.061 MB / 0.7038 GB, free: 139.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6461, allocations: 0 / 0.7038 GB, free: 139.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02283/0.6689, allocations: 16.3 MB / 0.7197 GB, free: 138.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & ./OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1)