Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001335/0.001335, allocations: 101 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.001462/0.001462, allocations: 214.6 kB / 23.84 MB, free: 4.664 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.475/1.475, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.03679/0.03679, allocations: 6.131 MB / 320.2 MB, free: 12.94 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.94 kB / 445.3 MB, free: 5.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 55.02 MB / 0.4886 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002524/0.1142, allocations: 1.125 MB / 0.4897 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1166, allocations: 1.52 MB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.1167, allocations: 4 kB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1171, allocations: 107.5 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1173, allocations: 63.61 kB / 0.4913 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1185, allocations: 0.6107 MB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1188, allocations: 131.3 kB / 0.4921 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1189, allocations: 37.52 kB / 0.4921 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.119, allocations: 59.78 kB / 0.4921 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1191, allocations: 67.69 kB / 0.4922 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1191, allocations: 11.94 kB / 0.4922 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1194, allocations: 175.8 kB / 0.4924 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1195, allocations: 27.91 kB / 0.4924 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.046e-05/0.1196, allocations: 59.67 kB / 0.4925 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.1199, allocations: 279.1 kB / 0.4927 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1199, allocations: 0 / 0.4927 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1199, allocations: 0 / 0.4927 GB, free: 9.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.12, allocations: 0 / 0.4927 GB, free: 9.953 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.001682/0.1216, allocations: 0.521 MB / 0.4933 GB, free: 9.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1217, allocations: 8.031 kB / 0.4933 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.1217, allocations: 4.422 kB / 0.4933 GB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.1218, allocations: 42.75 kB / 0.4933 GB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.1218, allocations: 20.83 kB / 0.4933 GB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.122, allocations: 154.3 kB / 0.4935 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1221, allocations: 8.609 kB / 0.4935 GB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1221, allocations: 20.38 kB / 0.4935 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1224, allocations: 175.5 kB / 0.4937 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1224, allocations: 0 / 0.4937 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1224, allocations: 4 kB / 0.4937 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1224, allocations: 11.92 kB / 0.4937 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.1227, allocations: 162.5 kB / 0.4938 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.1237, allocations: 0.5346 MB / 0.4944 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1239, allocations: 153.1 kB / 0.4945 GB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1241, allocations: 68.84 kB / 0.4946 GB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.1241, allocations: 4 kB / 0.4946 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.1242, allocations: 34.56 kB / 0.4946 GB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1242, allocations: 0 / 0.4946 GB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001042/0.1252, allocations: 314.2 kB / 0.4949 GB, free: 7.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.1253, allocations: 51.66 kB / 0.495 GB, free: 7.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1254, allocations: 172.2 kB / 0.4951 GB, free: 7.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1255, allocations: 29.7 kB / 0.4951 GB, free: 7.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1256, allocations: 124.2 kB / 0.4953 GB, free: 7.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1256, allocations: 43.64 kB / 0.4953 GB, free: 7.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.1257, allocations: 45.69 kB / 0.4954 GB, free: 7.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1259, allocations: 322.8 kB / 0.4957 GB, free: 6.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.126, allocations: 91.97 kB / 0.4957 GB, free: 6.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1262, allocations: 91.97 kB / 0.4958 GB, free: 6.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.1265, allocations: 200.3 kB / 0.496 GB, free: 6.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1265, allocations: 3.938 kB / 0.496 GB, free: 6.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005875/0.127, allocations: 306.2 kB / 0.4963 GB, free: 6.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1271, allocations: 4 kB / 0.4963 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1271, allocations: 3.938 kB / 0.4963 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.1274, allocations: 56.81 kB / 0.4964 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1275, allocations: 35.92 kB / 0.4964 GB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.1293, allocations: 1.439 MB / 0.4978 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1294, allocations: 15.92 kB / 0.4978 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1295, allocations: 11.98 kB / 0.4978 GB, free: 4.41 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1296, allocations: 125.8 kB / 0.498 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1296, allocations: 15.84 kB / 0.498 GB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.1303, allocations: 243.2 kB / 0.4982 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1303, allocations: 0 / 0.4982 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1303, allocations: 0 / 0.4982 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1303, allocations: 4 kB / 0.4982 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.1306, allocations: 252.4 kB / 0.4985 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1306, allocations: 0 / 0.4985 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.1307, allocations: 16 kB / 0.4985 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.1309, allocations: 56.81 kB / 0.4985 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1309, allocations: 0 / 0.4985 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.1324, allocations: 1.42 MB / 0.4999 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1324, allocations: 7.969 kB / 0.4999 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.1329, allocations: 311.9 kB / 0.5002 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.133, allocations: 23.84 kB / 0.5002 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.133, allocations: 3.938 kB / 0.5002 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1331, allocations: 0 / 0.5002 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1332, allocations: 11.98 kB / 0.5003 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1332, allocations: 7.984 kB / 0.5003 GB, free: 1.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1333, allocations: 130.1 kB / 0.5004 GB, free: 1.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1333, allocations: 0 / 0.5004 GB, free: 1.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1336, allocations: 48 kB / 0.5004 GB, free: 1.562 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 (12): * Single equations (assignments): 11 * 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.0009116/0.1346, allocations: 0.8498 MB / 0.5013 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.1353, allocations: 306.5 kB / 0.5016 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1353, allocations: 4 kB / 0.5016 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.1357, allocations: 198.6 kB / 0.5018 GB, free: 164 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1359, allocations: 8 kB / 0.5018 GB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.139, allocations: 2.092 MB / 0.5038 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1394, allocations: 0.7161 MB / 0.5045 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.1395, allocations: 20.64 kB / 0.5045 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.1396, allocations: 43.41 kB / 0.5046 GB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1396, allocations: 0 / 0.5046 GB, free: 13.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.1665, allocations: 4.099 MB / 0.5086 GB, free: 9.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.8, allocations: 10.27 kB / 0.5086 GB, free: 9.203 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.662292008986697] Failed to read output from testmodel.py, exit status != 0: 11.965069005033001 12.160231156 12.037512043 Calling exit ...