Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001563/0.001563, allocations: 101.2 kB / 20.52 MB, free: 1.449 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.00141/0.00141, allocations: 214.8 kB / 23.84 MB, free: 4.66 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.503/1.503, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.03827/0.03827, allocations: 6.13 MB / 320.1 MB, free: 12.96 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 43.92 kB / 445.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 55.03 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003106/0.1086, allocations: 1.732 MB / 0.4903 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.1111, allocations: 1.641 MB / 0.4919 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1112, allocations: 8 kB / 0.4919 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.1116, allocations: 139.2 kB / 0.492 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1121, allocations: 155.1 kB / 0.4922 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.1142, allocations: 1.054 MB / 0.4932 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1147, allocations: 278.7 kB / 0.4935 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1149, allocations: 56.86 kB / 0.4935 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.115, allocations: 115.6 kB / 0.4936 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1152, allocations: 139.3 kB / 0.4938 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1153, allocations: 24 kB / 0.4938 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.1158, allocations: 243.8 kB / 0.494 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1159, allocations: 55.77 kB / 0.4941 GB, free: 8.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1161, allocations: 135.3 kB / 0.4942 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008431/0.1169, allocations: 466.4 kB / 0.4946 GB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1169, allocations: 0 / 0.4946 GB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1169, allocations: 0 / 0.4946 GB, free: 8.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1169, allocations: 0 / 0.4946 GB, free: 8.043 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004548/0.1215, allocations: 1.039 MB / 0.4957 GB, free: 6.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1215, allocations: 12.03 kB / 0.4957 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.452e-05/0.1215, allocations: 8.562 kB / 0.4957 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.1216, allocations: 54.67 kB / 0.4957 GB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.1217, allocations: 36.73 kB / 0.4958 GB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.122, allocations: 209.9 kB / 0.496 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.122, allocations: 20.75 kB / 0.496 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.1221, allocations: 24.38 kB / 0.496 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.1227, allocations: 362.5 kB / 0.4964 GB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1227, allocations: 4 kB / 0.4964 GB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.1228, allocations: 4 kB / 0.4964 GB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1228, allocations: 4 kB / 0.4964 GB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.1233, allocations: 307.9 kB / 0.4967 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1252, allocations: 0.9128 MB / 0.4976 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/0.1262, allocations: 354.7 kB / 0.4979 GB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1265, allocations: 152.8 kB / 0.498 GB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009103/0.1274, allocations: 0.5942 MB / 0.4986 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1274, allocations: 42.8 kB / 0.4987 GB, free: 3.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.1274, allocations: 3.938 kB / 0.4987 GB, free: 3.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003874/0.1313, allocations: 0.9764 MB / 0.4996 GB, free: 2.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.1314, allocations: 106.8 kB / 0.4997 GB, free: 2.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.1316, allocations: 228.9 kB / 0.4999 GB, free: 2.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.1317, allocations: 33.7 kB / 0.5 GB, free: 2.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1318, allocations: 148.7 kB / 0.5001 GB, free: 2.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1319, allocations: 99.17 kB / 0.5002 GB, free: 2.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1321, allocations: 86.11 kB / 0.5003 GB, free: 2.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1323, allocations: 338.8 kB / 0.5006 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.1326, allocations: 196.8 kB / 0.5008 GB, free: 1.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.133, allocations: 271.5 kB / 0.5011 GB, free: 1.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/0.1338, allocations: 472.6 kB / 0.5015 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1338, allocations: 0 / 0.5015 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002423/0.1362, allocations: 0.8184 MB / 0.5023 GB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1362, allocations: 4 kB / 0.5023 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1362, allocations: 0 / 0.5023 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.1384, allocations: 417.3 kB / 0.5027 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.1388, allocations: 75.83 kB / 0.5028 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.1444, allocations: 3.816 MB / 0.5065 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.1448, allocations: 47.7 kB / 0.5066 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.1448, allocations: 11.98 kB / 0.5066 GB, free: 11.31 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002612/0.1451, allocations: 161.6 kB / 0.5067 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1452, allocations: 27.92 kB / 0.5067 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.1476, allocations: 0.733 MB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.1476, allocations: 4 kB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.1476, allocations: 0 / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1476, allocations: 4 kB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.1483, allocations: 396.2 kB / 0.5078 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.1483, allocations: 4 kB / 0.5078 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.1485, allocations: 43.92 kB / 0.5079 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.1506, allocations: 409.5 kB / 0.5083 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.1507, allocations: 4 kB / 0.5083 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.1565, allocations: 3.805 MB / 0.512 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1566, allocations: 0 / 0.512 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.1587, allocations: 0.7668 MB / 0.5128 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.1588, allocations: 39.7 kB / 0.5128 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.1589, allocations: 8 kB / 0.5128 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.1592, allocations: 12 kB / 0.5128 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1593, allocations: 31.94 kB / 0.5128 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.1593, allocations: 12 kB / 0.5128 GB, free: 4.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1595, allocations: 156.5 kB / 0.513 GB, free: 4.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1595, allocations: 0 / 0.513 GB, free: 4.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006438/0.1602, allocations: 123.9 kB / 0.5131 GB, free: 4.266 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002865/0.163, allocations: 1.331 MB / 0.5144 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.1651, allocations: 0.7393 MB / 0.5151 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1651, allocations: 0 / 0.5151 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.1663, allocations: 0.4974 MB / 0.5156 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1667, allocations: 20.44 kB / 0.5156 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.206/0.3727, allocations: 3.719 MB / 0.5193 GB, free: 28.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3729, allocations: 0.7578 MB / 0.52 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.373, allocations: 36.94 kB / 0.5201 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3732, allocations: 86.02 kB / 0.5201 GB, free: 27.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3732, allocations: 0 / 0.5201 GB, free: 27.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.4145, allocations: 9.485 MB / 0.5294 GB, free: 26.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.43, allocations: 9.438 kB / 0.5294 GB, free: 26.88 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.180294045014307] Failed to read output from testmodel.py, exit status != 0: 12.61475591303315 12.640921979 12.518001559 Calling exit ...