Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.003258/0.003257, allocations: 181.5 kB / 7.459 MB, free: 2.5 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.155/1.155, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.0008403/0.0008406, allocations: 99.62 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.06789/0.06789, allocations: 12.19 MB / 321.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2919/0.2919, allocations: 78.04 MB / 449.9 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2934/0.5854, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.74, allocations: 69.23 MB / 0.5813 GB, free: 9.203 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/1.221, allocations: 100.2 MB / 0.6792 GB, free: 8.816 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.222, allocations: 79.95 kB / 0.6792 GB, free: 8.777 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.09779/1.32, allocations: 32.89 MB / 0.7114 GB, free: 13.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.32, allocations: 11.94 kB / 0.7114 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/1.324, allocations: 0.5824 MB / 0.7119 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/1.327, allocations: 0.8028 MB / 0.7127 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/1.327, allocations: 236.2 kB / 0.7129 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/1.327, allocations: 55.47 kB / 0.713 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/1.329, allocations: 0.8095 MB / 0.7138 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.331, allocations: 0.8519 MB / 0.7146 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.331, allocations: 4 kB / 0.7146 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/1.331, allocations: 4 kB / 0.7146 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.331, allocations: 16 kB / 0.7146 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00814/1.339, allocations: 3.836 MB / 0.7184 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/1.341, allocations: 0.6418 MB / 0.719 GB, free: 7.324 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/1.342, allocations: 0.5246 MB / 0.7195 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/1.342, allocations: 16.77 kB / 0.7195 GB, free: 7.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/1.343, allocations: 0.657 MB / 0.7202 GB, free: 6.574 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/1.343, allocations: 0 / 0.7202 GB, free: 6.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.01424/1.357, allocations: 4.208 MB / 0.7243 GB, free: 2.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/1.357, allocations: 115.6 kB / 0.7244 GB, free: 2.754 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.359, allocations: 0.8586 MB / 0.7252 GB, free: 2.129 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.359, allocations: 29.64 kB / 0.7253 GB, free: 2.094 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/1.359, allocations: 330.8 kB / 0.7256 GB, free: 1.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/1.36, allocations: 341.5 kB / 0.7259 GB, free: 1.523 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/1.36, allocations: 0 / 0.7259 GB, free: 1.523 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/1.36, allocations: 340.6 kB / 0.7262 GB, free: 1.199 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/1.361, allocations: 461.9 kB / 0.7267 GB, free: 0.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/1.362, allocations: 0.579 MB / 0.7272 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/1.363, allocations: 0.5014 MB / 0.7277 GB, free: 284 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.363, allocations: 0 / 0.7277 GB, free: 284 kB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01423/1.377, allocations: 4.309 MB / 0.7319 GB, free: 12.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.377, allocations: 4 kB / 0.7319 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/1.377, allocations: 7.984 kB / 0.732 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006899/1.384, allocations: 1.652 MB / 0.7336 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.385, allocations: 185.9 kB / 0.7337 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.402, allocations: 7.339 MB / 0.7409 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/1.405, allocations: 191.1 kB / 0.7411 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/1.405, allocations: 35.98 kB / 0.7411 GB, free: 3.914 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004189/1.405, allocations: 159.3 kB / 0.7413 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/1.406, allocations: 126.5 kB / 0.7414 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.42, allocations: 4.315 MB / 0.7456 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/1.42, allocations: 8 kB / 0.7456 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.42, allocations: 8 kB / 0.7456 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/1.42, allocations: 7.922 kB / 0.7456 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.436, allocations: 5.749 MB / 0.7512 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.436, allocations: 0 / 0.7512 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/1.437, allocations: 103.9 kB / 0.7513 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/1.443, allocations: 1.536 MB / 0.7528 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/1.443, allocations: 15.94 kB / 0.7529 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.459, allocations: 7.121 MB / 0.7598 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.459, allocations: 4 kB / 0.7598 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01561/1.474, allocations: 5.09 MB / 0.7648 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01699/1.491, allocations: 6.221 MB / 0.7709 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007742/1.492, allocations: 231.2 kB / 0.7711 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/1.493, allocations: 3.984 kB / 0.7711 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.494, allocations: 139.9 kB / 0.7712 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/1.494, allocations: 120.8 kB / 0.7713 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.836e-05/1.495, allocations: 24 kB / 0.7714 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001022/1.496, allocations: 0.6536 MB / 0.772 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002125/1.498, allocations: 415.4 kB / 0.7724 GB, free: 3.422 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003705/1.498, allocations: 143 kB / 0.7725 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005841/1.504, allocations: 2.103 MB / 0.7746 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.504, allocations: 4.062 kB / 0.7746 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00443/1.508, allocations: 1.508 MB / 0.7761 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.51, allocations: 102.5 kB / 0.7762 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/1.515, allocations: 1.92 MB / 0.778 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.516, allocations: 1.241 MB / 0.7792 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.093e-06/1.516, allocations: 0 / 0.7792 GB, free: 12.25 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)