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.001356/0.001356, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.001603/0.001603, allocations: 225.2 kB / 23.05 MB, free: 4.996 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.03995/0.03995, allocations: 6.137 MB / 319.4 MB, free: 12.97 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 47.92 kB / 444.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002784/0.1094, allocations: 1.321 MB / 0.4891 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1115, allocations: 1.462 MB / 0.4905 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1116, allocations: 4 kB / 0.4905 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.112, allocations: 111.4 kB / 0.4906 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.1124, allocations: 87.53 kB / 0.4907 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1141, allocations: 0.8696 MB / 0.4916 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1144, allocations: 143.3 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1145, allocations: 54.34 kB / 0.4917 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.1146, allocations: 55.8 kB / 0.4918 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1147, allocations: 63.7 kB / 0.4919 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.1148, allocations: 16 kB / 0.4919 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.1152, allocations: 227.7 kB / 0.4921 GB, free: 9.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1152, allocations: 31.91 kB / 0.4921 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.1153, allocations: 67.67 kB / 0.4922 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.1159, allocations: 314.9 kB / 0.4925 GB, free: 9.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1159, allocations: 0 / 0.4925 GB, free: 9.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1159, allocations: 0 / 0.4925 GB, free: 9.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1159, allocations: 7.984 kB / 0.4925 GB, free: 9.461 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.002056/0.118, allocations: 0.5947 MB / 0.4931 GB, free: 8.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.118, allocations: 8.031 kB / 0.4931 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.1181, allocations: 46.73 kB / 0.4931 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.1181, allocations: 16.84 kB / 0.4931 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1183, allocations: 158.3 kB / 0.4933 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1184, allocations: 12.38 kB / 0.4933 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1184, allocations: 12.38 kB / 0.4933 GB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1187, allocations: 179.9 kB / 0.4935 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1187, allocations: 3.938 kB / 0.4935 GB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1187, allocations: 8 kB / 0.4935 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1187, allocations: 4 kB / 0.4935 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1189, allocations: 119.9 kB / 0.4936 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.12, allocations: 0.5071 MB / 0.4941 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/0.1209, allocations: 150.5 kB / 0.4943 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.121, allocations: 44.8 kB / 0.4943 GB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.1211, allocations: 7.984 kB / 0.4943 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1211, allocations: 38.56 kB / 0.4943 GB, free: 7.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1211, allocations: 0 / 0.4943 GB, free: 7.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001348/0.1225, allocations: 274.4 kB / 0.4946 GB, free: 7.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.1225, allocations: 77.11 kB / 0.4947 GB, free: 7.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1227, allocations: 140.9 kB / 0.4948 GB, free: 6.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1227, allocations: 29.7 kB / 0.4948 GB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.1228, allocations: 132.2 kB / 0.495 GB, free: 6.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1228, allocations: 31.75 kB / 0.495 GB, free: 6.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.1229, allocations: 33.7 kB / 0.495 GB, free: 6.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.123, allocations: 322.8 kB / 0.4953 GB, free: 6.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1232, allocations: 47.98 kB / 0.4954 GB, free: 6.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1233, allocations: 78.48 kB / 0.4955 GB, free: 6.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.1235, allocations: 121.7 kB / 0.4956 GB, free: 6.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1235, allocations: 4.031 kB / 0.4956 GB, free: 6.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006716/0.1242, allocations: 229.9 kB / 0.4958 GB, free: 5.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1242, allocations: 4 kB / 0.4958 GB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1242, allocations: 7.938 kB / 0.4958 GB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/0.1248, allocations: 84.8 kB / 0.4959 GB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1249, allocations: 27.92 kB / 0.4959 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.1267, allocations: 1.447 MB / 0.4973 GB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1269, allocations: 15.98 kB / 0.4973 GB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.1269, allocations: 15.94 kB / 0.4974 GB, free: 4.133 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.0001471/0.127, allocations: 121.8 kB / 0.4975 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1271, allocations: 11.89 kB / 0.4975 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000652/0.1277, allocations: 207 kB / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1277, allocations: 4 kB / 0.4977 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1277, allocations: 0 / 0.4977 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1277, allocations: 3.984 kB / 0.4977 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.128, allocations: 212.5 kB / 0.4979 GB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.128, allocations: 0 / 0.4979 GB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.1281, allocations: 15.98 kB / 0.4979 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.1286, allocations: 84.78 kB / 0.498 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1286, allocations: 4 kB / 0.498 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.1304, allocations: 1.436 MB / 0.4994 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1304, allocations: 4.062 kB / 0.4994 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.131, allocations: 276.5 kB / 0.4997 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.131, allocations: 11.83 kB / 0.4997 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.131, allocations: 8 kB / 0.4997 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1312, allocations: 19.92 kB / 0.4997 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.1312, allocations: 7.984 kB / 0.4997 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1312, allocations: 3.984 kB / 0.4997 GB, free: 1.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.1313, allocations: 107.2 kB / 0.4998 GB, free: 1.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 0 / 0.4998 GB, free: 1.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1316, allocations: 47.89 kB / 0.4999 GB, free: 1.367 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.0009884/0.1326, allocations: 0.8263 MB / 0.5007 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008224/0.1334, allocations: 250.6 kB / 0.5009 GB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1334, allocations: 0 / 0.5009 GB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.134, allocations: 194.7 kB / 0.5011 GB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1342, allocations: 14.75 kB / 0.5011 GB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.1371, allocations: 1.855 MB / 0.5029 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1375, allocations: 0.708 MB / 0.5036 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.1376, allocations: 12.67 kB / 0.5036 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.1377, allocations: 39.42 kB / 0.5037 GB, free: 13.31 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1377, allocations: 0 / 0.5037 GB, free: 13.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.1721, allocations: 3.776 MB / 0.5074 GB, free: 9.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.59, allocations: 6.875 kB / 0.5074 GB, free: 9.656 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.490448622964323] Failed to read output from testmodel.py, exit status != 0: 11.700483877910301 11.907295925 11.788641522 Calling exit ...