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.001587/0.001587, allocations: 100.4 kB / 19.74 MB, free: 1.754 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.001655/0.001655, allocations: 225 kB / 23.03 MB, free: 4.633 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.133 MB / 319.3 MB, free: 12.85 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.00177/0.00177, allocations: 55.92 kB / 444.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1081, allocations: 55.02 MB / 499.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002762/0.1109, allocations: 1.234 MB / 0.4889 GB, free: 12.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.113, allocations: 1.38 MB / 0.4903 GB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.1131, allocations: 4 kB / 0.4903 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1134, allocations: 107.5 kB / 0.4904 GB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1137, allocations: 87.47 kB / 0.4905 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1153, allocations: 0.8013 MB / 0.4912 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1155, allocations: 127.4 kB / 0.4914 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1157, allocations: 57.11 kB / 0.4914 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.1157, allocations: 59.72 kB / 0.4915 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1158, allocations: 55.7 kB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1159, allocations: 16 kB / 0.4915 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1162, allocations: 211.8 kB / 0.4918 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1163, allocations: 27.91 kB / 0.4918 GB, free: 9.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.1164, allocations: 59.67 kB / 0.4918 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1168, allocations: 315 kB / 0.4921 GB, free: 9.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1168, allocations: 4 kB / 0.4921 GB, free: 9.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1168, allocations: 0 / 0.4921 GB, free: 9.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1168, allocations: 0 / 0.4921 GB, free: 9.52 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.001875/0.1187, allocations: 0.5908 MB / 0.4927 GB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1188, allocations: 12.03 kB / 0.4927 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.1188, allocations: 46.73 kB / 0.4928 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.1189, allocations: 16.84 kB / 0.4928 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1191, allocations: 154.3 kB / 0.4929 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1191, allocations: 16.38 kB / 0.4929 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1191, allocations: 12.38 kB / 0.493 GB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1195, allocations: 235.2 kB / 0.4932 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1195, allocations: 3.938 kB / 0.4932 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1196, allocations: 8 kB / 0.4932 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.1196, allocations: 4 kB / 0.4932 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.1198, allocations: 116 kB / 0.4933 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.1207, allocations: 467.4 kB / 0.4938 GB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.1215, allocations: 158.5 kB / 0.4939 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.1216, allocations: 40.8 kB / 0.4939 GB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-05/0.1217, allocations: 11.98 kB / 0.494 GB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1218, allocations: 30.56 kB / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1218, allocations: 0 / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001209/0.123, allocations: 278.4 kB / 0.4943 GB, free: 7.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.123, allocations: 77.48 kB / 0.4943 GB, free: 7.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1232, allocations: 139.5 kB / 0.4945 GB, free: 6.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1232, allocations: 25.7 kB / 0.4945 GB, free: 6.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1233, allocations: 136.2 kB / 0.4946 GB, free: 6.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1233, allocations: 35.64 kB / 0.4946 GB, free: 6.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.1234, allocations: 37.7 kB / 0.4947 GB, free: 6.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1236, allocations: 326.8 kB / 0.495 GB, free: 6.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1237, allocations: 47.98 kB / 0.495 GB, free: 6.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1238, allocations: 100.2 kB / 0.4951 GB, free: 6.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.1241, allocations: 121.3 kB / 0.4953 GB, free: 6.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1241, allocations: 7.922 kB / 0.4953 GB, free: 6.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005943/0.1247, allocations: 218.5 kB / 0.4955 GB, free: 5.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1247, allocations: 4 kB / 0.4955 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1247, allocations: 0 / 0.4955 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.1253, allocations: 88.7 kB / 0.4956 GB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1254, allocations: 35.92 kB / 0.4956 GB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1273, allocations: 1.439 MB / 0.497 GB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1274, allocations: 24.08 kB / 0.497 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1274, allocations: 4 kB / 0.497 GB, free: 4.152 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.0001461/0.1276, allocations: 125.8 kB / 0.4971 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1276, allocations: 11.89 kB / 0.4972 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.1282, allocations: 199.1 kB / 0.4973 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1282, allocations: 0 / 0.4973 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1282, allocations: 11.98 kB / 0.4974 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1282, allocations: 0 / 0.4974 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1285, allocations: 192.6 kB / 0.4975 GB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1285, allocations: 0 / 0.4975 GB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.1286, allocations: 19.98 kB / 0.4976 GB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.129, allocations: 80.72 kB / 0.4976 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1291, allocations: 12 kB / 0.4976 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.1307, allocations: 1.428 MB / 0.499 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1307, allocations: 0 / 0.499 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.1313, allocations: 288.2 kB / 0.4993 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.1314, allocations: 15.88 kB / 0.4993 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1314, allocations: 0 / 0.4993 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1315, allocations: 4 kB / 0.4993 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1315, allocations: 11.98 kB / 0.4993 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1315, allocations: 4 kB / 0.4994 GB, free: 1.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.1316, allocations: 110.5 kB / 0.4995 GB, free: 1.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1316, allocations: 4 kB / 0.4995 GB, free: 1.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.132, allocations: 51.88 kB / 0.4995 GB, free: 1.406 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.0009962/0.133, allocations: 0.8185 MB / 0.5003 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.1338, allocations: 254.6 kB / 0.5006 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1338, allocations: 0 / 0.5006 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.1343, allocations: 194.6 kB / 0.5007 GB, free: 96 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1346, allocations: 12 kB / 0.5007 GB, free: 84 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.1376, allocations: 1.866 MB / 0.5026 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.1377, allocations: 101.4 kB / 0.5027 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1378, allocations: 12.64 kB / 0.5027 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.1379, allocations: 47.42 kB / 0.5027 GB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1379, allocations: 0 / 0.5027 GB, free: 13.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.1726, allocations: 4.229 MB / 0.5069 GB, free: 9.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.82, allocations: 4 kB / 0.5069 GB, free: 9.852 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.653583374340087] Failed to read output from testmodel.py, exit status != 0: 11.930528169032186 12.108951579 11.989136007 Calling exit ...