Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 101.9 kB / 20.52 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 222.1 kB / 23.82 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 257.6 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03622/0.03622, allocations: 6.128 MB / 320.1 MB, free: 12.77 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 51.91 kB / 445.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.0964, allocations: 55.02 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002562/0.09896, allocations: 1.216 MB / 0.4897 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1009, allocations: 1.396 MB / 0.491 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.101, allocations: 4 kB / 0.491 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1013, allocations: 103.5 kB / 0.4911 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1016, allocations: 83.47 kB / 0.4912 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1032, allocations: 0.8009 MB / 0.492 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1034, allocations: 135.4 kB / 0.4921 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1036, allocations: 46.09 kB / 0.4922 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.1036, allocations: 63.78 kB / 0.4922 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1037, allocations: 67.69 kB / 0.4923 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1038, allocations: 12 kB / 0.4923 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.1041, allocations: 211.8 kB / 0.4925 GB, free: 9.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.1042, allocations: 31.86 kB / 0.4925 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1043, allocations: 63.66 kB / 0.4926 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1047, allocations: 319 kB / 0.4929 GB, free: 9.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1047, allocations: 4 kB / 0.4929 GB, free: 9.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1047, allocations: 0 / 0.4929 GB, free: 9.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1047, allocations: 0 / 0.4929 GB, free: 9.453 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002006/0.1067, allocations: 0.5947 MB / 0.4935 GB, free: 8.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1068, allocations: 8.031 kB / 0.4935 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.967e-05/0.1068, allocations: 8.125 kB / 0.4935 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.1069, allocations: 46.73 kB / 0.4936 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1069, allocations: 20.84 kB / 0.4936 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1071, allocations: 150.3 kB / 0.4937 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1071, allocations: 8.375 kB / 0.4937 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1072, allocations: 20.31 kB / 0.4937 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1076, allocations: 239 kB / 0.494 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1076, allocations: 0 / 0.494 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1076, allocations: 8 kB / 0.494 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1076, allocations: 4 kB / 0.494 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.1078, allocations: 112 kB / 0.4941 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.1087, allocations: 471.4 kB / 0.4945 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.1096, allocations: 158.5 kB / 0.4947 GB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.1097, allocations: 36.84 kB / 0.4947 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1098, allocations: 8 kB / 0.4947 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1098, allocations: 38.69 kB / 0.4948 GB, free: 7.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1098, allocations: 4 kB / 0.4948 GB, free: 7.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00127/0.1111, allocations: 262.3 kB / 0.495 GB, free: 7.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1112, allocations: 81.11 kB / 0.4951 GB, free: 7.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1113, allocations: 147.9 kB / 0.4952 GB, free: 6.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1113, allocations: 25.7 kB / 0.4953 GB, free: 6.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.1114, allocations: 128.2 kB / 0.4954 GB, free: 6.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1115, allocations: 35.72 kB / 0.4954 GB, free: 6.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.1115, allocations: 37.7 kB / 0.4955 GB, free: 6.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1117, allocations: 323.1 kB / 0.4958 GB, free: 6.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1118, allocations: 47.98 kB / 0.4958 GB, free: 6.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1119, allocations: 98.8 kB / 0.4959 GB, free: 6.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1121, allocations: 129.6 kB / 0.496 GB, free: 6.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1121, allocations: 3.938 kB / 0.496 GB, free: 6.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006238/0.1128, allocations: 230.3 kB / 0.4963 GB, free: 5.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1128, allocations: 8 kB / 0.4963 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1128, allocations: 0 / 0.4963 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.1133, allocations: 84.84 kB / 0.4963 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1134, allocations: 19.98 kB / 0.4964 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.1152, allocations: 1.455 MB / 0.4978 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1153, allocations: 11.92 kB / 0.4978 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1154, allocations: 8 kB / 0.4978 GB, free: 4.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.1155, allocations: 129.9 kB / 0.4979 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.1155, allocations: 15.88 kB / 0.4979 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.1161, allocations: 199.2 kB / 0.4981 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1161, allocations: 0 / 0.4981 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1161, allocations: 0 / 0.4981 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1162, allocations: 3.984 kB / 0.4981 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1164, allocations: 188.6 kB / 0.4983 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1164, allocations: 0 / 0.4983 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.1165, allocations: 19.92 kB / 0.4983 GB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.117, allocations: 88.77 kB / 0.4984 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.117, allocations: 4 kB / 0.4984 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.1187, allocations: 1.435 MB / 0.4998 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1187, allocations: 4 kB / 0.4998 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.1193, allocations: 280.3 kB / 0.5001 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.1193, allocations: 11.89 kB / 0.5001 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1193, allocations: 4 kB / 0.5001 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1195, allocations: 7.984 kB / 0.5001 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1195, allocations: 11.92 kB / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1195, allocations: 8 kB / 0.5001 GB, free: 1.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.1196, allocations: 99.95 kB / 0.5002 GB, free: 1.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1196, allocations: 0 / 0.5002 GB, free: 1.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1199, allocations: 51.89 kB / 0.5003 GB, free: 1.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009716/0.1209, allocations: 0.8302 MB / 0.5011 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008113/0.1217, allocations: 251 kB / 0.5013 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1217, allocations: 0 / 0.5013 GB, free: 228 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.1223, allocations: 198.6 kB / 0.5015 GB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.1225, allocations: 11.98 kB / 0.5015 GB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.1253, allocations: 1.862 MB / 0.5034 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1254, allocations: 109.8 kB / 0.5035 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.245e-05/0.1255, allocations: 8.672 kB / 0.5035 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.1255, allocations: 43.42 kB / 0.5035 GB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1255, allocations: 0 / 0.5035 GB, free: 13.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1517, allocations: 3.904 MB / 0.5073 GB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.62, allocations: 11.28 kB / 0.5073 GB, free: 10.12 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.4069620850496] Failed to read output from testmodel.py, exit status != 0: 12.779317249078304 12.95235573 12.844723144 Calling exit ...