Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") translateModel(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer") [: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.003797/0.003797, allocations: 176.8 kB / 7.452 MB, free: 2.508 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.266/1.266, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001084/0.001084, allocations: 98.95 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.416/0.416, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.765e-06, allocations: 0 / 484.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 69.35 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.3872, allocations: 105.5 MB / 0.6438 GB, free: 15.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3875, allocations: 75.95 kB / 0.6438 GB, free: 15.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2978/0.6853, allocations: 39.11 MB / 0.682 GB, free: 104.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.907e-05/0.6854, allocations: 24.66 kB / 0.6821 GB, free: 104.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005421/0.6908, allocations: 1.996 MB / 0.684 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.6909, allocations: 15.17 kB / 0.684 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/0.6941, allocations: 0.5495 MB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.6957, allocations: 0.848 MB / 0.6854 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.696, allocations: 340.3 kB / 0.6857 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.6963, allocations: 55.75 kB / 0.6858 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001747/0.698, allocations: 0.9656 MB / 0.6867 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6997, allocations: 0.9579 MB / 0.6876 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.6997, allocations: 3.938 kB / 0.6876 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6998, allocations: 1.5 kB / 0.6876 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6998, allocations: 19.72 kB / 0.6877 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00791/0.7077, allocations: 4.323 MB / 0.6919 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.7094, allocations: 0.8771 MB / 0.6927 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.7103, allocations: 0.6357 MB / 0.6934 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.7105, allocations: 26.03 kB / 0.6934 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7105, allocations: 50.41 kB / 0.6934 GB, free: 101.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 2.956e-06/0.7105, allocations: 0 / 0.6934 GB, free: 101.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01688/0.7274, allocations: 5.221 MB / 0.6985 GB, free: 100.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7275, allocations: 93.48 kB / 0.6986 GB, free: 100.1 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo:5:3-5:76:writable] Warning: Parameter twoWindingTransformer.t.im has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo:4:3-4:71:writable] Warning: Parameter twoWindingTransformer.t.re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.7296, allocations: 0.9049 MB / 0.6995 GB, free: 99.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.7298, allocations: 26.83 kB / 0.6995 GB, free: 99.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.73, allocations: 348.8 kB / 0.6999 GB, free: 99.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.7305, allocations: 376.9 kB / 0.7002 GB, free: 99.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7306, allocations: 0 / 0.7002 GB, free: 99.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.7307, allocations: 344.3 kB / 0.7006 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.7317, allocations: 0.4953 MB / 0.701 GB, free: 98.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7328, allocations: 0.6343 MB / 0.7017 GB, free: 98.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.734, allocations: 0.5521 MB / 0.7022 GB, free: 97.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.734, allocations: 1.688 kB / 0.7022 GB, free: 97.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004011/0.7381, allocations: 1.806 MB / 0.704 GB, free: 97.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7381, allocations: 5.094 kB / 0.704 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7381, allocations: 5.812 kB / 0.704 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009149/0.7473, allocations: 2.402 MB / 0.7063 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.7479, allocations: 128.7 kB / 0.7064 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004982/0.7529, allocations: 2.563 MB / 0.7089 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.7548, allocations: 203.9 kB / 0.7091 GB, free: 95.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.7549, allocations: 38.02 kB / 0.7092 GB, free: 95.12 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 (73): * Single equations (assignments): 72 * 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 {28 29} Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.7552, allocations: 116.2 kB / 0.7093 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.7556, allocations: 144.3 kB / 0.7094 GB, free: 94.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.7725, allocations: 5.259 MB / 0.7146 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.7726, allocations: 12 kB / 0.7146 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7726, allocations: 3.469 kB / 0.7146 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.7726, allocations: 7.703 kB / 0.7146 GB, free: 92.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.7922, allocations: 6.769 MB / 0.7212 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.7923, allocations: 7.906 kB / 0.7212 GB, free: 87.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.793, allocations: 107.1 kB / 0.7213 GB, free: 86.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007808/0.8008, allocations: 2.259 MB / 0.7235 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.801, allocations: 15.42 kB / 0.7235 GB, free: 84.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.8203, allocations: 7.793 MB / 0.7311 GB, free: 76.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8203, allocations: 6.25 kB / 0.7311 GB, free: 76.78 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01777/0.8381, allocations: 6.249 MB / 0.7372 GB, free: 70.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.8386, allocations: 247 kB / 0.7375 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.839, allocations: 3.906 kB / 0.7375 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.8406, allocations: 147.9 kB / 0.7376 GB, free: 70.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/0.841, allocations: 139 kB / 0.7377 GB, free: 69.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.8411, allocations: 28 kB / 0.7378 GB, free: 69.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009312/0.8421, allocations: 0.6958 MB / 0.7385 GB, free: 69.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001177/0.8433, allocations: 423.4 kB / 0.7389 GB, free: 68.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003023/0.8436, allocations: 160.4 kB / 0.739 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.8501, allocations: 2.182 MB / 0.7411 GB, free: 66.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8501, allocations: 0 / 0.7411 GB, free: 66.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005655/0.8558, allocations: 1.748 MB / 0.7428 GB, free: 64.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.8567, allocations: 80.83 kB / 0.7429 GB, free: 64.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.8615, allocations: 2.023 MB / 0.7449 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/0.8623, allocations: 1.244 MB / 0.7461 GB, free: 61.39 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8623, allocations: 0 / 0.7461 GB, free: 61.39 MB / 490.7 MB Notification: Performance of Templates: time 0.03166/0.894, allocations: 22.22 MB / 0.7678 GB, free: 39.3 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)