Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",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 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 183.2 kB / 7.459 MB, free: 2.512 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.065/1.065, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008393/0.0008393, allocations: 102.4 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3572/0.3572, allocations: 78.11 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1151/0.4724, allocations: 75.48 MB / 484.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.7068, allocations: 69.34 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09733/0.8042, allocations: 98.05 MB / 0.6366 GB, free: 6.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.8044, allocations: 79.95 kB / 0.6367 GB, free: 6.797 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.08014/0.8846, allocations: 31.97 MB / 0.6679 GB, free: 6.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.8846, allocations: 8 kB / 0.6679 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.8879, allocations: 0.5836 MB / 0.6685 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.889, allocations: 0.792 MB / 0.6692 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.8892, allocations: 214.5 kB / 0.6694 GB, free: 4.867 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.8893, allocations: 51.91 kB / 0.6695 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/0.8907, allocations: 0.8045 MB / 0.6703 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.892, allocations: 0.8416 MB / 0.6711 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.8921, allocations: 7.938 kB / 0.6711 GB, free: 3.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.8921, allocations: 0 / 0.6711 GB, free: 3.148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.8922, allocations: 20 kB / 0.6711 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/1.036, allocations: 3.871 MB / 0.6749 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/1.038, allocations: 0.6074 MB / 0.6755 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/1.039, allocations: 0.5246 MB / 0.676 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/1.039, allocations: 20.16 kB / 0.676 GB, free: 139.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.039, allocations: 46.59 kB / 0.6761 GB, free: 139.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.835e-06/1.039, allocations: 0 / 0.6761 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01164/1.05, allocations: 4.06 MB / 0.68 GB, free: 139.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/1.05, allocations: 144.9 kB / 0.6802 GB, free: 139.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009825/1.051, allocations: 0.8442 MB / 0.681 GB, free: 138.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.052, allocations: 25.7 kB / 0.681 GB, free: 138.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/1.052, allocations: 321.9 kB / 0.6813 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/1.052, allocations: 327.6 kB / 0.6816 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/1.052, allocations: 0 / 0.6816 GB, free: 138.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/1.052, allocations: 342.8 kB / 0.682 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/1.053, allocations: 445.5 kB / 0.6824 GB, free: 138.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/1.053, allocations: 0.5506 MB / 0.6829 GB, free: 138.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/1.054, allocations: 0.4883 MB / 0.6834 GB, free: 138.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.054, allocations: 0 / 0.6834 GB, free: 138.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0112/1.065, allocations: 4.137 MB / 0.6874 GB, free: 137.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/1.066, allocations: 1.144 MB / 0.6886 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.066, allocations: 6.922 kB / 0.6886 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004781/1.07, allocations: 1.491 MB / 0.69 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.071, allocations: 188.5 kB / 0.6902 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.083, allocations: 5.713 MB / 0.6958 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.084, allocations: 185 kB / 0.696 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/1.084, allocations: 37.88 kB / 0.696 GB, free: 135 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/1.084, allocations: 3.906 kB / 0.696 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01146/1.096, allocations: 3.968 MB / 0.6999 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.096, allocations: 2.844 kB / 0.6999 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004978/1.101, allocations: 1.496 MB / 0.7013 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.102, allocations: 177.6 kB / 0.7015 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.114, allocations: 5.709 MB / 0.7071 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.116, allocations: 167.4 kB / 0.7072 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.116, allocations: 38.88 kB / 0.7073 GB, free: 133.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 2 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003015/1.116, allocations: 161.4 kB / 0.7074 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.116, allocations: 126.9 kB / 0.7076 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.128, allocations: 4.152 MB / 0.7116 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.128, allocations: 8.875 kB / 0.7116 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.128, allocations: 8.188 kB / 0.7116 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.128, allocations: 10.17 kB / 0.7116 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.14, allocations: 5.664 MB / 0.7172 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.14, allocations: 0 / 0.7172 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/1.141, allocations: 123.5 kB / 0.7173 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/1.145, allocations: 1.44 MB / 0.7187 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.145, allocations: 6.906 kB / 0.7187 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009846/1.155, allocations: 5.268 MB / 0.7238 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.155, allocations: 2.906 kB / 0.7238 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01253/1.168, allocations: 4.904 MB / 0.7286 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01395/1.182, allocations: 6.022 MB / 0.7345 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/1.182, allocations: 227.9 kB / 0.7347 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002956/1.182, allocations: 5.406 kB / 0.7347 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.184, allocations: 128.5 kB / 0.7349 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/1.184, allocations: 106.6 kB / 0.735 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/1.184, allocations: 31.56 kB / 0.735 GB, free: 124.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007877/1.185, allocations: 0.6456 MB / 0.7356 GB, free: 123.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002746/1.188, allocations: 0.6202 MB / 0.7362 GB, free: 123 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/1.188, allocations: 136 kB / 0.7364 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007856/1.196, allocations: 3.404 MB / 0.7397 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.196, allocations: 0.75 kB / 0.7397 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/1.199, allocations: 1.379 MB / 0.741 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/1.2, allocations: 96.48 kB / 0.7411 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/1.204, allocations: 1.907 MB / 0.743 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/1.204, allocations: 1.226 MB / 0.7442 GB, free: 115.7 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/1.204, allocations: 0 / 0.7442 GB, free: 115.7 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)