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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_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.003218/0.003218, allocations: 183.6 kB / 7.46 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.27/1.27, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001142/0.001142, allocations: 92.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4791/0.4791, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1746/0.6537, allocations: 75.5 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/1.024, allocations: 69.34 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/1.157, allocations: 105.5 MB / 0.6439 GB, free: 15.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.158, allocations: 75.95 kB / 0.6439 GB, free: 15.25 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.3917/1.549, allocations: 41.13 MB / 0.6841 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.549, allocations: 10.28 kB / 0.6841 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/1.553, allocations: 0.5527 MB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.555, allocations: 0.8549 MB / 0.6855 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/1.555, allocations: 336.1 kB / 0.6858 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/1.556, allocations: 53.16 kB / 0.6859 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002078/1.558, allocations: 0.9699 MB / 0.6868 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/1.56, allocations: 0.9599 MB / 0.6877 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.56, allocations: 0 / 0.6877 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/1.56, allocations: 0 / 0.6877 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/1.56, allocations: 17.66 kB / 0.6878 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009781/1.57, allocations: 4.325 MB / 0.692 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/1.572, allocations: 0.8785 MB / 0.6928 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.573, allocations: 0.6359 MB / 0.6935 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/1.573, allocations: 23.83 kB / 0.6935 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.573, allocations: 50.5 kB / 0.6935 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=111): time 3.928e-06/1.573, allocations: 0 / 0.6935 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=111): time 0.0168/1.59, allocations: 5.219 MB / 0.6986 GB, free: 100.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.59, allocations: 89.3 kB / 0.6987 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.002693/1.593, allocations: 0.9044 MB / 0.6996 GB, free: 99.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.593, allocations: 25.7 kB / 0.6996 GB, free: 99.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/1.593, allocations: 348 kB / 0.6999 GB, free: 99.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007462/1.594, allocations: 381.5 kB / 0.7003 GB, free: 99.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.594, allocations: 0 / 0.7003 GB, free: 99.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.594, allocations: 340.5 kB / 0.7006 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.595, allocations: 0.5039 MB / 0.7011 GB, free: 98.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.596, allocations: 0.6334 MB / 0.7017 GB, free: 98.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.598, allocations: 0.55 MB / 0.7023 GB, free: 97.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.598, allocations: 0.625 kB / 0.7023 GB, free: 97.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00424/1.602, allocations: 1.804 MB / 0.704 GB, free: 97.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.602, allocations: 4.969 kB / 0.7041 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.602, allocations: 6.281 kB / 0.7041 GB, free: 97.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009137/1.611, allocations: 2.404 MB / 0.7064 GB, free: 96.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/1.612, allocations: 128.9 kB / 0.7065 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/1.617, allocations: 2.559 MB / 0.709 GB, free: 95.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.619, allocations: 204.9 kB / 0.7092 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.619, allocations: 38.73 kB / 0.7093 GB, free: 95.17 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.000258/1.619, allocations: 116 kB / 0.7094 GB, free: 95.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/1.62, allocations: 142.4 kB / 0.7095 GB, free: 94.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/1.636, allocations: 5.259 MB / 0.7146 GB, free: 92.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.636, allocations: 15.94 kB / 0.7147 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.636, allocations: 4 kB / 0.7147 GB, free: 92.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/1.636, allocations: 13.98 kB / 0.7147 GB, free: 92.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.655, allocations: 6.771 MB / 0.7213 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.655, allocations: 3.906 kB / 0.7213 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/1.656, allocations: 104.6 kB / 0.7214 GB, free: 86.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007607/1.664, allocations: 2.263 MB / 0.7236 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/1.664, allocations: 14.48 kB / 0.7236 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/1.682, allocations: 7.792 MB / 0.7312 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.682, allocations: 1.875 kB / 0.7312 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01719/1.699, allocations: 6.253 MB / 0.7373 GB, free: 70.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01899/1.718, allocations: 7.512 MB / 0.7447 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/1.719, allocations: 243 kB / 0.7449 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008182/1.72, allocations: 7.984 kB / 0.7449 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.722, allocations: 147.9 kB / 0.745 GB, free: 62.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005161/1.723, allocations: 131.8 kB / 0.7452 GB, free: 62.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.723, allocations: 31.98 kB / 0.7452 GB, free: 62.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001135/1.724, allocations: 0.6997 MB / 0.7459 GB, free: 61.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002267/1.726, allocations: 423.4 kB / 0.7463 GB, free: 61.37 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.0004316/1.727, allocations: 159.4 kB / 0.7464 GB, free: 61.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0067/1.733, allocations: 2.174 MB / 0.7486 GB, free: 59.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.733, allocations: 0 / 0.7486 GB, free: 59.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005577/1.739, allocations: 1.753 MB / 0.7503 GB, free: 57.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/1.74, allocations: 84.72 kB / 0.7504 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/1.745, allocations: 2.021 MB / 0.7523 GB, free: 55.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/1.746, allocations: 1.263 MB / 0.7536 GB, free: 53.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.345e-06/1.746, allocations: 0 / 0.7536 GB, free: 53.89 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)