Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",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.003448/0.003448, allocations: 185.6 kB / 7.459 MB, free: 2.52 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.297/1.297, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009655/0.0009655, allocations: 101.3 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4585/0.4585, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1822/0.6408, allocations: 75.66 MB / 485.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/1.006, allocations: 69.5 MB / 0.542 GB, free: 21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/1.154, allocations: 106.2 MB / 0.6456 GB, free: 13.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.154, allocations: 83.95 kB / 0.6457 GB, free: 13.63 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.4034/1.558, allocations: 38.81 MB / 0.6836 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.558, allocations: 8.406 kB / 0.6836 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/1.561, allocations: 0.5463 MB / 0.6842 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.563, allocations: 0.8475 MB / 0.685 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.564, allocations: 340.5 kB / 0.6853 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/1.564, allocations: 56.19 kB / 0.6854 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002137/1.566, allocations: 0.9651 MB / 0.6863 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/1.568, allocations: 0.9595 MB / 0.6872 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/1.568, allocations: 0 / 0.6872 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.568, allocations: 0 / 0.6872 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/1.568, allocations: 22.84 kB / 0.6873 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009022/1.577, allocations: 4.321 MB / 0.6915 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.579, allocations: 0.8747 MB / 0.6923 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.58, allocations: 0.6408 MB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/1.58, allocations: 25.61 kB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/1.58, allocations: 42.97 kB / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 3.176e-06/1.58, allocations: 0 / 0.693 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.0162/1.597, allocations: 5.218 MB / 0.6981 GB, free: 99.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.597, allocations: 93.7 kB / 0.6982 GB, free: 99.72 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.002053/1.599, allocations: 0.9106 MB / 0.6991 GB, free: 99.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.599, allocations: 30.3 kB / 0.6991 GB, free: 99.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/1.599, allocations: 343.1 kB / 0.6995 GB, free: 99.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006483/1.6, allocations: 381.3 kB / 0.6998 GB, free: 98.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/1.6, allocations: 0 / 0.6998 GB, free: 98.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/1.6, allocations: 341.6 kB / 0.7002 GB, free: 98.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.602, allocations: 0.4988 MB / 0.7006 GB, free: 98.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.603, allocations: 0.6354 MB / 0.7013 GB, free: 97.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.604, allocations: 0.5502 MB / 0.7018 GB, free: 97.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.604, allocations: 3.219 kB / 0.7018 GB, free: 97.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004536/1.609, allocations: 1.806 MB / 0.7036 GB, free: 96.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.609, allocations: 4.344 kB / 0.7036 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.609, allocations: 3.531 kB / 0.7036 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009291/1.618, allocations: 2.403 MB / 0.7059 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/1.619, allocations: 131.1 kB / 0.706 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/1.625, allocations: 2.558 MB / 0.7085 GB, free: 94.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.627, allocations: 207.6 kB / 0.7087 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.627, allocations: 37.42 kB / 0.7088 GB, free: 94.75 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.000301/1.627, allocations: 119.7 kB / 0.7089 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/1.628, allocations: 142.8 kB / 0.709 GB, free: 94.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/1.652, allocations: 5.269 MB / 0.7142 GB, free: 92.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/1.652, allocations: 11.84 kB / 0.7142 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.652, allocations: 7.938 kB / 0.7142 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/1.652, allocations: 3.938 kB / 0.7142 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/1.68, allocations: 6.771 MB / 0.7208 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.68, allocations: 8.5 kB / 0.7208 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.681, allocations: 112.7 kB / 0.7209 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/1.692, allocations: 2.258 MB / 0.7231 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/1.693, allocations: 8 kB / 0.7231 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/1.717, allocations: 7.792 MB / 0.7307 GB, free: 76.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.717, allocations: 0 / 0.7307 GB, free: 76.71 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01744/1.734, allocations: 6.249 MB / 0.7369 GB, free: 70.46 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01971/1.754, allocations: 7.52 MB / 0.7442 GB, free: 62.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/1.755, allocations: 247 kB / 0.7444 GB, free: 62.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006746/1.755, allocations: 0 / 0.7444 GB, free: 62.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.757, allocations: 147.9 kB / 0.7446 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/1.758, allocations: 139.2 kB / 0.7447 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.758, allocations: 35.36 kB / 0.7447 GB, free: 62.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001114/1.759, allocations: 0.6918 MB / 0.7454 GB, free: 61.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002113/1.761, allocations: 431.4 kB / 0.7458 GB, free: 61.25 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.0003539/1.762, allocations: 146.4 kB / 0.746 GB, free: 61.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00642/1.768, allocations: 2.184 MB / 0.7481 GB, free: 58.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.768, allocations: 0 / 0.7481 GB, free: 58.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005437/1.773, allocations: 1.744 MB / 0.7498 GB, free: 57.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.775, allocations: 102.6 kB / 0.7499 GB, free: 57.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/1.781, allocations: 2.019 MB / 0.7519 GB, free: 55.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.782, allocations: 1.263 MB / 0.7531 GB, free: 53.76 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/1.782, allocations: 0 / 0.7531 GB, free: 53.76 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)