Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_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.002048/0.002048, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.048/1.048, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008567/0.0008566, allocations: 98.64 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3665/0.3665, allocations: 78.1 MB / 409 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1312/0.4977, allocations: 75.49 MB / 484.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.746, allocations: 69.34 MB / 0.5408 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.8559, allocations: 105.5 MB / 0.6439 GB, free: 15.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.8562, allocations: 79.95 kB / 0.644 GB, free: 15.2 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.2795/1.136, allocations: 41.12 MB / 0.6841 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/1.136, allocations: 6.688 kB / 0.6841 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/1.139, allocations: 0.5564 MB / 0.6847 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/1.14, allocations: 0.8504 MB / 0.6855 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/1.14, allocations: 338 kB / 0.6858 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/1.14, allocations: 51.41 kB / 0.6859 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001575/1.142, allocations: 0.9706 MB / 0.6868 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.143, allocations: 0.9613 MB / 0.6878 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.143, allocations: 0 / 0.6878 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/1.144, allocations: 0 / 0.6878 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.144, allocations: 22.44 kB / 0.6878 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00661/1.15, allocations: 4.315 MB / 0.692 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/1.152, allocations: 0.878 MB / 0.6929 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008468/1.152, allocations: 0.6396 MB / 0.6935 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/1.153, allocations: 19.48 kB / 0.6935 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/1.153, allocations: 43.47 kB / 0.6935 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 2.745e-06/1.153, allocations: 3.609 kB / 0.6936 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.01502/1.168, allocations: 5.227 MB / 0.6987 GB, free: 100 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.168, allocations: 89.98 kB / 0.6987 GB, free: 99.93 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.001557/1.169, allocations: 0.9046 MB / 0.6996 GB, free: 99.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/1.169, allocations: 26.73 kB / 0.6997 GB, free: 99.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.169, allocations: 344.9 kB / 0.7 GB, free: 99.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/1.17, allocations: 378.8 kB / 0.7003 GB, free: 98.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/1.17, allocations: 0.8438 kB / 0.7003 GB, free: 98.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/1.17, allocations: 340.9 kB / 0.7007 GB, free: 98.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/1.171, allocations: 0.5067 MB / 0.7012 GB, free: 98.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/1.172, allocations: 0.6323 MB / 0.7018 GB, free: 98.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.173, allocations: 0.5527 MB / 0.7023 GB, free: 97.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.173, allocations: 4.062 kB / 0.7023 GB, free: 97.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00342/1.176, allocations: 1.798 MB / 0.7041 GB, free: 96.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.176, allocations: 4.875 kB / 0.7041 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.176, allocations: 7.375 kB / 0.7041 GB, free: 96.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/1.185, allocations: 2.406 MB / 0.7064 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/1.185, allocations: 126.1 kB / 0.7066 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/1.19, allocations: 2.561 MB / 0.7091 GB, free: 95.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.192, allocations: 201.5 kB / 0.7093 GB, free: 94.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.192, allocations: 40.64 kB / 0.7093 GB, free: 94.96 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.0002375/1.192, allocations: 119.3 kB / 0.7094 GB, free: 94.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/1.192, allocations: 142.6 kB / 0.7095 GB, free: 94.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.208, allocations: 5.259 MB / 0.7147 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.208, allocations: 12 kB / 0.7147 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.208, allocations: 3.562 kB / 0.7147 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.208, allocations: 7.234 kB / 0.7147 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.226, allocations: 6.777 MB / 0.7213 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.226, allocations: 3.906 kB / 0.7213 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/1.227, allocations: 112.7 kB / 0.7214 GB, free: 86.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007348/1.234, allocations: 2.263 MB / 0.7236 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/1.234, allocations: 0 / 0.7236 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.252, allocations: 7.798 MB / 0.7313 GB, free: 76.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.252, allocations: 1.125 kB / 0.7313 GB, free: 76.69 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01619/1.268, allocations: 6.248 MB / 0.7374 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01723/1.286, allocations: 7.518 MB / 0.7447 GB, free: 62.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/1.286, allocations: 247 kB / 0.7449 GB, free: 62.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004437/1.287, allocations: 4 kB / 0.7449 GB, free: 62.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.288, allocations: 147.9 kB / 0.7451 GB, free: 62.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/1.289, allocations: 128.8 kB / 0.7452 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.289, allocations: 31.98 kB / 0.7452 GB, free: 62.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009172/1.29, allocations: 0.6997 MB / 0.7459 GB, free: 61.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001965/1.292, allocations: 431.4 kB / 0.7463 GB, free: 61.23 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.0003163/1.292, allocations: 150.3 kB / 0.7465 GB, free: 61.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006104/1.298, allocations: 2.182 MB / 0.7486 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.298, allocations: 0 / 0.7486 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.303, allocations: 1.755 MB / 0.7503 GB, free: 57.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.304, allocations: 92.66 kB / 0.7504 GB, free: 57.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/1.309, allocations: 2.017 MB / 0.7524 GB, free: 55.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/1.31, allocations: 1.269 MB / 0.7536 GB, free: 53.74 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/1.31, allocations: 4 kB / 0.7536 GB, free: 53.73 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)