Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.0013/0.0013, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001661/0.001661, allocations: 217.3 kB / 23.03 MB, free: 5.016 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.06195/0.06195, allocations: 6.14 MB / 319.4 MB, free: 12.73 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.92 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003203/0.1055, allocations: 1.596 MB / 0.4893 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1078, allocations: 1.544 MB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.108, allocations: 4 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.1084, allocations: 131.3 kB / 0.4909 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.1088, allocations: 139.1 kB / 0.4911 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1102, allocations: 0.5973 MB / 0.4917 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.1108, allocations: 290.6 kB / 0.4919 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.111, allocations: 82.2 kB / 0.492 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1112, allocations: 131.5 kB / 0.4921 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1114, allocations: 131.3 kB / 0.4923 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1114, allocations: 24 kB / 0.4923 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.1118, allocations: 179.8 kB / 0.4925 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.1119, allocations: 59.77 kB / 0.4925 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.112, allocations: 115.5 kB / 0.4926 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1128, allocations: 438.4 kB / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1128, allocations: 0 / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1128, allocations: 4 kB / 0.493 GB, free: 8.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1128, allocations: 0 / 0.493 GB, free: 8.504 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003229/0.116, allocations: 0.8873 MB / 0.4939 GB, free: 7.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.116, allocations: 12.03 kB / 0.4939 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.1161, allocations: 62.72 kB / 0.494 GB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.1162, allocations: 32.75 kB / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1166, allocations: 210.7 kB / 0.4942 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1166, allocations: 24.75 kB / 0.4942 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.1166, allocations: 32.36 kB / 0.4943 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.1173, allocations: 420.9 kB / 0.4947 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1173, allocations: 3.938 kB / 0.4947 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1174, allocations: 15.94 kB / 0.4947 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1174, allocations: 4 kB / 0.4947 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.1179, allocations: 345.6 kB / 0.495 GB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1197, allocations: 0.8839 MB / 0.4959 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.1203, allocations: 374.5 kB / 0.4962 GB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.1207, allocations: 204.8 kB / 0.4964 GB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.1207, allocations: 8 kB / 0.4964 GB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1208, allocations: 51.03 kB / 0.4965 GB, free: 4.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.445e-06/0.1208, allocations: 4 kB / 0.4965 GB, free: 4.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002587/0.1234, allocations: 0.8332 MB / 0.4973 GB, free: 3.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1234, allocations: 59.41 kB / 0.4974 GB, free: 3.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1237, allocations: 234.9 kB / 0.4976 GB, free: 3.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.1238, allocations: 37.7 kB / 0.4976 GB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1239, allocations: 140.8 kB / 0.4978 GB, free: 3.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.1241, allocations: 130.9 kB / 0.4979 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1243, allocations: 86.11 kB / 0.498 GB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1245, allocations: 330.8 kB / 0.4983 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.1249, allocations: 236.8 kB / 0.4985 GB, free: 2.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.1253, allocations: 247.9 kB / 0.4987 GB, free: 2.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.1261, allocations: 0.5132 MB / 0.4992 GB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1261, allocations: 0 / 0.4992 GB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001408/0.1275, allocations: 0.7326 MB / 0.5 GB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1275, allocations: 4 kB / 0.5 GB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.1275, allocations: 4 kB / 0.5 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/0.1282, allocations: 154.4 kB / 0.5001 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.1286, allocations: 83.89 kB / 0.5002 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.1333, allocations: 4.293 MB / 0.5044 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.1336, allocations: 35.77 kB / 0.5044 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.1337, allocations: 12 kB / 0.5044 GB, free: 12.25 MB / 382.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1339, allocations: 149.7 kB / 0.5046 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.134, allocations: 28.02 kB / 0.5046 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1353, allocations: 0.6 MB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1353, allocations: 4 kB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1353, allocations: 4 kB / 0.5052 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1353, allocations: 3.984 kB / 0.5052 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.1359, allocations: 356.4 kB / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1359, allocations: 0 / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.1362, allocations: 51.91 kB / 0.5056 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006383/0.1368, allocations: 150.5 kB / 0.5057 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1368, allocations: 8 kB / 0.5057 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.1414, allocations: 4.272 MB / 0.5099 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1414, allocations: 4.031 kB / 0.5099 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1427, allocations: 0.6354 MB / 0.5105 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1427, allocations: 31.69 kB / 0.5106 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.1428, allocations: 15.92 kB / 0.5106 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.143, allocations: 4 kB / 0.5106 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.1431, allocations: 23.95 kB / 0.5106 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.1431, allocations: 15.98 kB / 0.5106 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1433, allocations: 164.1 kB / 0.5108 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1433, allocations: 4 kB / 0.5108 GB, free: 5.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000509/0.1438, allocations: 119.9 kB / 0.5109 GB, free: 5.172 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.001646/0.1454, allocations: 1.191 MB / 0.5121 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.1472, allocations: 0.8464 MB / 0.5129 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1472, allocations: 0 / 0.5129 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.1482, allocations: 0.5818 MB / 0.5135 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.1485, allocations: 16.67 kB / 0.5135 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1928/0.3413, allocations: 3.588 MB / 0.517 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3414, allocations: 152.7 kB / 0.5171 GB, free: 28.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.3416, allocations: 36.19 kB / 0.5172 GB, free: 28.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3417, allocations: 80.81 kB / 0.5172 GB, free: 28.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3417, allocations: 2.594 kB / 0.5172 GB, free: 28.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.3832, allocations: 8.27 MB / 0.5253 GB, free: 27.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 8.547 kB / 0.5253 GB, free: 27.16 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.554582419339567] Failed to read output from testmodel.py, exit status != 0: 12.070335667114705 12.084849502 11.969386152 Calling exit ...