Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001599/0.001599, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002234/0.002234, allocations: 216 kB / 23.82 MB, free: 4.48 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.512/1.512, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.04029/0.04029, allocations: 6.135 MB / 320.1 MB, free: 12.75 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.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.94 kB / 445.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 55.02 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002762/0.1151, allocations: 1.148 MB / 0.4896 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1173, allocations: 1.478 MB / 0.4911 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.1174, allocations: 4 kB / 0.4911 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.1178, allocations: 107.4 kB / 0.4912 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.1181, allocations: 103.4 kB / 0.4913 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1199, allocations: 0.924 MB / 0.4922 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1203, allocations: 155.2 kB / 0.4923 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1204, allocations: 37.94 kB / 0.4924 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1205, allocations: 75.7 kB / 0.4924 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1207, allocations: 79.62 kB / 0.4925 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1207, allocations: 12 kB / 0.4925 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.1212, allocations: 235.8 kB / 0.4927 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1212, allocations: 27.91 kB / 0.4928 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.1213, allocations: 71.59 kB / 0.4928 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.1218, allocations: 335 kB / 0.4932 GB, free: 9.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1219, allocations: 4 kB / 0.4932 GB, free: 9.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1219, allocations: 0 / 0.4932 GB, free: 9.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1219, allocations: 0 / 0.4932 GB, free: 9.172 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002467/0.1243, allocations: 0.6572 MB / 0.4938 GB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1244, allocations: 12.03 kB / 0.4938 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.636e-05/0.1244, allocations: 4.422 kB / 0.4938 GB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.1245, allocations: 50.67 kB / 0.4939 GB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.1246, allocations: 24.8 kB / 0.4939 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1249, allocations: 160 kB / 0.494 GB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1249, allocations: 12.61 kB / 0.494 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1249, allocations: 12.38 kB / 0.4941 GB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1254, allocations: 318.6 kB / 0.4944 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1254, allocations: 0 / 0.4944 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1254, allocations: 8 kB / 0.4944 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1254, allocations: 0 / 0.4944 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1257, allocations: 167.9 kB / 0.4945 GB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1269, allocations: 0.5384 MB / 0.4951 GB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.1274, allocations: 186.5 kB / 0.4952 GB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1276, allocations: 92.77 kB / 0.4953 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.1276, allocations: 4 kB / 0.4953 GB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1276, allocations: 34.5 kB / 0.4954 GB, free: 6.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1276, allocations: 3.938 kB / 0.4954 GB, free: 6.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002127/0.1298, allocations: 0.5165 MB / 0.4959 GB, free: 6.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1298, allocations: 77.11 kB / 0.4959 GB, free: 6.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1301, allocations: 178.1 kB / 0.4961 GB, free: 5.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1301, allocations: 33.7 kB / 0.4961 GB, free: 5.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.1302, allocations: 116.4 kB / 0.4963 GB, free: 5.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1302, allocations: 55.53 kB / 0.4963 GB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1303, allocations: 45.69 kB / 0.4964 GB, free: 5.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1305, allocations: 330.8 kB / 0.4967 GB, free: 5.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1307, allocations: 104 kB / 0.4968 GB, free: 5.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1309, allocations: 155.4 kB / 0.4969 GB, free: 5.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.1313, allocations: 230.1 kB / 0.4971 GB, free: 4.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1313, allocations: 0 / 0.4971 GB, free: 4.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00118/0.1324, allocations: 425.9 kB / 0.4975 GB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1325, allocations: 8.031 kB / 0.4975 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1325, allocations: 0 / 0.4975 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.1336, allocations: 204.6 kB / 0.4977 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1338, allocations: 35.98 kB / 0.4978 GB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.137, allocations: 1.842 MB / 0.4996 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1372, allocations: 23.83 kB / 0.4996 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1372, allocations: 8 kB / 0.4996 GB, free: 2.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.1374, allocations: 133.8 kB / 0.4997 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.1375, allocations: 15.84 kB / 0.4998 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1386, allocations: 387.4 kB / 0.5001 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1386, allocations: 3.938 kB / 0.5001 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1386, allocations: 0 / 0.5001 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1387, allocations: 0 / 0.5001 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.139, allocations: 240.5 kB / 0.5004 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.139, allocations: 4 kB / 0.5004 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1391, allocations: 31.88 kB / 0.5004 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.1402, allocations: 200.6 kB / 0.5006 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1402, allocations: 4 kB / 0.5006 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.143, allocations: 1.826 MB / 0.5024 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.143, allocations: 3.938 kB / 0.5024 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1441, allocations: 446.6 kB / 0.5028 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1442, allocations: 28.08 kB / 0.5028 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1442, allocations: 4 kB / 0.5028 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.1444, allocations: 15.98 kB / 0.5028 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1445, allocations: 15.95 kB / 0.5029 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1445, allocations: 8 kB / 0.5029 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1446, allocations: 127.2 kB / 0.503 GB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1446, allocations: 0 / 0.503 GB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.145, allocations: 67.94 kB / 0.5031 GB, free: 14.47 MB / 382.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 (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.1466, allocations: 0.9862 MB / 0.504 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.1476, allocations: 397.2 kB / 0.5044 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1476, allocations: 4 kB / 0.5044 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.1483, allocations: 270.5 kB / 0.5047 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1486, allocations: 31.84 kB / 0.5047 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.1529, allocations: 2.501 MB / 0.5071 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.1531, allocations: 111.4 kB / 0.5072 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.863e-05/0.1532, allocations: 25.41 kB / 0.5073 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1533, allocations: 51.41 kB / 0.5073 GB, free: 9.957 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1533, allocations: 0 / 0.5073 GB, free: 9.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.1837, allocations: 6.342 MB / 0.5135 GB, free: 3.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.22, allocations: 11.8 kB / 0.5135 GB, free: 3.766 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.15281173796393] Failed to read output from testmodel.py, exit status != 0: 13.39367579203099 13.583361349 13.456978385 Calling exit ...