Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001319/0.001319, 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.001545/0.001545, allocations: 216.6 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.03575/0.03575, allocations: 6.132 MB / 319.3 MB, free: 12.82 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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 51.92 kB / 444.4 MB, free: 5.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 55.02 MB / 499.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.003013/0.1122, allocations: 1.18 MB / 0.4889 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1138, allocations: 1.236 MB / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.1139, allocations: 4 kB / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1142, allocations: 99.48 kB / 0.4902 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1144, allocations: 63.61 kB / 0.4902 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1155, allocations: 0.5407 MB / 0.4908 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1157, allocations: 127.5 kB / 0.4909 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1159, allocations: 49.64 kB / 0.4909 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.1159, allocations: 55.8 kB / 0.491 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.116, allocations: 47.77 kB / 0.491 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.116, allocations: 12 kB / 0.4911 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1163, allocations: 135.8 kB / 0.4912 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.1163, allocations: 31.84 kB / 0.4912 GB, free: 10.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.1164, allocations: 55.8 kB / 0.4913 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1168, allocations: 255 kB / 0.4915 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1168, allocations: 4 kB / 0.4915 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1168, allocations: 0 / 0.4915 GB, free: 10.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1168, allocations: 0 / 0.4915 GB, free: 10.17 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.001264/0.118, allocations: 497.3 kB / 0.492 GB, free: 9.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1181, allocations: 15.97 kB / 0.492 GB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1181, allocations: 42.73 kB / 0.492 GB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.1182, allocations: 16.84 kB / 0.4921 GB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1184, allocations: 150.3 kB / 0.4922 GB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1184, allocations: 8.375 kB / 0.4922 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1184, allocations: 16.38 kB / 0.4922 GB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.1187, allocations: 179.9 kB / 0.4924 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1187, allocations: 3.938 kB / 0.4924 GB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1187, allocations: 4 kB / 0.4924 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1188, allocations: 0 / 0.4924 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.119, allocations: 120 kB / 0.4925 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.1197, allocations: 451.4 kB / 0.493 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.1205, allocations: 142.5 kB / 0.4931 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1206, allocations: 44.97 kB / 0.4931 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.53e-05/0.1207, allocations: 11.94 kB / 0.4931 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1208, allocations: 34.55 kB / 0.4932 GB, free: 8.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1208, allocations: 4 kB / 0.4932 GB, free: 8.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001143/0.1219, allocations: 266.2 kB / 0.4934 GB, free: 8.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1219, allocations: 55.34 kB / 0.4935 GB, free: 7.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1221, allocations: 137.7 kB / 0.4936 GB, free: 7.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1221, allocations: 25.7 kB / 0.4936 GB, free: 7.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1222, allocations: 128.2 kB / 0.4938 GB, free: 7.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1222, allocations: 39.67 kB / 0.4938 GB, free: 7.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.1223, allocations: 33.7 kB / 0.4938 GB, free: 7.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1224, allocations: 314.8 kB / 0.4941 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.1225, allocations: 43.98 kB / 0.4942 GB, free: 7.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1226, allocations: 61.69 kB / 0.4942 GB, free: 7.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1228, allocations: 97.72 kB / 0.4943 GB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1228, allocations: 4 kB / 0.4943 GB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00053/0.1234, allocations: 210.1 kB / 0.4945 GB, free: 6.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1234, allocations: 4 kB / 0.4945 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1234, allocations: 4.406 kB / 0.4945 GB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.1239, allocations: 80.77 kB / 0.4946 GB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.1239, allocations: 12 kB / 0.4946 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.1259, allocations: 1.545 MB / 0.4961 GB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.126, allocations: 15.86 kB / 0.4962 GB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.126, allocations: 4 kB / 0.4962 GB, free: 5.074 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 (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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.1262, allocations: 125.8 kB / 0.4963 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1262, allocations: 7.953 kB / 0.4963 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.1268, allocations: 206.7 kB / 0.4965 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1268, allocations: 0 / 0.4965 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1268, allocations: 0 / 0.4965 GB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1268, allocations: 3.984 kB / 0.4965 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1271, allocations: 180.6 kB / 0.4967 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1271, allocations: 7.938 kB / 0.4967 GB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.1271, allocations: 8 kB / 0.4967 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.1275, allocations: 80.77 kB / 0.4968 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1275, allocations: 4 kB / 0.4968 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.1293, allocations: 1.53 MB / 0.4982 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1293, allocations: 0 / 0.4982 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.1299, allocations: 276.2 kB / 0.4985 GB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.1299, allocations: 15.83 kB / 0.4985 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1299, allocations: 4 kB / 0.4985 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.13, allocations: 4.062 kB / 0.4985 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.13, allocations: 7.984 kB / 0.4985 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1301, allocations: 8 kB / 0.4985 GB, free: 2.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.411e-05/0.1301, allocations: 102.9 kB / 0.4986 GB, free: 2.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1301, allocations: 0 / 0.4986 GB, free: 2.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1305, allocations: 51.83 kB / 0.4987 GB, free: 2.277 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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009298/0.1314, allocations: 0.8186 MB / 0.4995 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.1321, allocations: 250.5 kB / 0.4997 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1321, allocations: 0 / 0.4997 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.1325, allocations: 202.5 kB / 0.4999 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1328, allocations: 15.23 kB / 0.4999 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1354, allocations: 1.767 MB / 0.5017 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.1355, allocations: 102.3 kB / 0.5018 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.641e-05/0.1356, allocations: 8.938 kB / 0.5018 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.1357, allocations: 35.42 kB / 0.5018 GB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.1357, allocations: 7.875 kB / 0.5018 GB, free: 14.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.168, allocations: 4.161 MB / 0.5059 GB, free: 10.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.8, allocations: 3.938 kB / 0.5059 GB, free: 10.89 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.635297096800059] Failed to read output from testmodel.py, exit status != 0: 11.908626026008278 12.136898497 12.01674999 Calling exit ...