Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.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.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003779/0.003779, allocations: 180.1 kB / 7.458 MB, free: 2.164 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.329/1.329, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008917/0.0008917, allocations: 89.62 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07557/0.07557, allocations: 12.2 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2931/0.2931, allocations: 78.04 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2793/0.5724, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.7276, allocations: 69.22 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/1.084, allocations: 107 MB / 0.6857 GB, free: 2.129 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.085, allocations: 79.89 kB / 0.6858 GB, free: 2.09 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.1103/1.195, allocations: 40.07 MB / 0.7249 GB, free: 1.336 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.195, allocations: 15.94 kB / 0.7249 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/1.198, allocations: 0.5582 MB / 0.7255 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/1.2, allocations: 0.8505 MB / 0.7263 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/1.2, allocations: 333.3 kB / 0.7266 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/1.201, allocations: 51.91 kB / 0.7267 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001906/1.203, allocations: 0.9724 MB / 0.7276 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/1.204, allocations: 0.9594 MB / 0.7286 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.204, allocations: 4 kB / 0.7286 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.204, allocations: 0 / 0.7286 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/1.205, allocations: 24 kB / 0.7286 GB, free: 14.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008732/1.213, allocations: 4.32 MB / 0.7328 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.215, allocations: 0.8815 MB / 0.7337 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/1.216, allocations: 0.6389 MB / 0.7343 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.216, allocations: 20.97 kB / 0.7343 GB, free: 10.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.216, allocations: 54.94 kB / 0.7344 GB, free: 10.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=111): time 3.266e-06/1.216, allocations: 0 / 0.7344 GB, free: 10.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=111): time 0.01707/1.233, allocations: 5.212 MB / 0.7395 GB, free: 5.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/1.233, allocations: 90.11 kB / 0.7395 GB, free: 5.355 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+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.001612/1.235, allocations: 0.9075 MB / 0.7404 GB, free: 4.699 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/1.235, allocations: 29.64 kB / 0.7405 GB, free: 4.664 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/1.235, allocations: 345.7 kB / 0.7408 GB, free: 4.379 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/1.236, allocations: 379.1 kB / 0.7412 GB, free: 4.047 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/1.236, allocations: 3.938 kB / 0.7412 GB, free: 4.043 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/1.236, allocations: 346.8 kB / 0.7415 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/1.237, allocations: 0.498 MB / 0.742 GB, free: 3.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.238, allocations: 0.637 MB / 0.7426 GB, free: 2.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.239, allocations: 0.5496 MB / 0.7431 GB, free: 1.996 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.239, allocations: 0 / 0.7431 GB, free: 1.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00349/1.243, allocations: 1.801 MB / 0.7449 GB, free: 192 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.243, allocations: 4 kB / 0.7449 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.243, allocations: 4 kB / 0.7449 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008802/1.252, allocations: 2.403 MB / 0.7472 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.252, allocations: 127.8 kB / 0.7474 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/1.258, allocations: 2.568 MB / 0.7499 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.26, allocations: 199.1 kB / 0.7501 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.26, allocations: 39.98 kB / 0.7501 GB, free: 10.81 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.0002986/1.26, allocations: 116.7 kB / 0.7502 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/1.261, allocations: 146.2 kB / 0.7504 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/1.277, allocations: 5.261 MB / 0.7555 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.277, allocations: 15.94 kB / 0.7555 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.277, allocations: 4 kB / 0.7555 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.277, allocations: 11.95 kB / 0.7555 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/1.296, allocations: 6.766 MB / 0.7621 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.296, allocations: 0 / 0.7621 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/1.297, allocations: 115.8 kB / 0.7622 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008297/1.305, allocations: 2.255 MB / 0.7644 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.306, allocations: 7.938 kB / 0.7644 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/1.327, allocations: 7.805 MB / 0.7721 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.327, allocations: 4 kB / 0.7721 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01866/1.345, allocations: 6.248 MB / 0.7782 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02024/1.366, allocations: 7.503 MB / 0.7855 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/1.367, allocations: 255 kB / 0.7857 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/1.367, allocations: 3.938 kB / 0.7858 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.368, allocations: 147.9 kB / 0.7859 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.369, allocations: 132.8 kB / 0.786 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.369, allocations: 31.98 kB / 0.786 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001088/1.37, allocations: 0.6997 MB / 0.7867 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001884/1.372, allocations: 419.4 kB / 0.7871 GB, free: 4.586 MB / 0.5105 GB 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.0003525/1.372, allocations: 160.5 kB / 0.7873 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006891/1.379, allocations: 2.176 MB / 0.7894 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.379, allocations: 0 / 0.7894 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00587/1.385, allocations: 1.752 MB / 0.7911 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.386, allocations: 92.69 kB / 0.7912 GB, free: 396 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/1.391, allocations: 2.024 MB / 0.7932 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.392, allocations: 1.263 MB / 0.7944 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/1.393, allocations: 0 / 0.7944 GB, free: 13.02 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)