Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 118.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 190.7 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 222.9 MB / 247 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2875/0.2875, allocations: 38 MB / 337.2 MB, free: 13.02 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 68.88 kB / 467.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 58.08 MB / 0.5133 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.00584/0.1103, allocations: 4.045 MB / 0.5172 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1118, allocations: 0.8998 MB / 0.5181 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.112, allocations: 11.94 kB / 0.5181 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1122, allocations: 47.52 kB / 0.5182 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.1127, allocations: 187 kB / 0.5183 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1129, allocations: 87.81 kB / 0.5184 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.1134, allocations: 410.6 kB / 0.5188 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.1137, allocations: 114.2 kB / 0.5189 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.114, allocations: 183.2 kB / 0.5191 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1144, allocations: 207.2 kB / 0.5193 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.1144, allocations: 20 kB / 0.5193 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1145, allocations: 20 kB / 0.5193 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.1146, allocations: 103.7 kB / 0.5194 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1148, allocations: 151.2 kB / 0.5196 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.1152, allocations: 314.6 kB / 0.5199 GB, free: 2.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1152, allocations: 4 kB / 0.5199 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1152, allocations: 0 / 0.5199 GB, free: 2.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1153, allocations: 0 / 0.5199 GB, free: 2.957 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00119/0.1164, allocations: 0.6281 MB / 0.5205 GB, free: 2.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1165, allocations: 11.89 kB / 0.5205 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.1166, allocations: 40.64 kB / 0.5205 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.1171, allocations: 351.2 kB / 0.5209 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1171, allocations: 20.94 kB / 0.5209 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.1172, allocations: 24.12 kB / 0.5209 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.1177, allocations: 316.5 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1177, allocations: 0 / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.1177, allocations: 12 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1177, allocations: 8 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.1181, allocations: 217.5 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1198, allocations: 1.341 MB / 0.5228 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1202, allocations: 145.2 kB / 0.5229 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1203, allocations: 57.75 kB / 0.523 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1203, allocations: 7.938 kB / 0.523 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1203, allocations: 34.78 kB / 0.523 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/0.1204, allocations: 7.938 kB / 0.523 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007944/0.1211, allocations: 368.4 kB / 0.5234 GB, free: 15.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1212, allocations: 77.11 kB / 0.5234 GB, free: 15.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1215, allocations: 266.9 kB / 0.5237 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1215, allocations: 29.7 kB / 0.5237 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1217, allocations: 204 kB / 0.5239 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.1217, allocations: 47.58 kB / 0.5239 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.1218, allocations: 53.77 kB / 0.524 GB, free: 14.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.122, allocations: 338.8 kB / 0.5243 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.1221, allocations: 51.97 kB / 0.5244 GB, free: 14.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1223, allocations: 152.8 kB / 0.5245 GB, free: 13.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1226, allocations: 229.4 kB / 0.5247 GB, free: 13.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1226, allocations: 4 kB / 0.5247 GB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003801/0.123, allocations: 253 kB / 0.525 GB, free: 13.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.123, allocations: 8 kB / 0.525 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.123, allocations: 4 kB / 0.525 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1231, allocations: 4.438 kB / 0.525 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1232, allocations: 51.91 kB / 0.525 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1233, allocations: 7.938 kB / 0.5251 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1234, allocations: 11.98 kB / 0.5251 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1234, allocations: 8 kB / 0.5251 GB, free: 13.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.1236, allocations: 169.6 kB / 0.5252 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.1237, allocations: 27.81 kB / 0.5253 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.124, allocations: 191.3 kB / 0.5254 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.124, allocations: 0 / 0.5254 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.124, allocations: 4 kB / 0.5254 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.124, allocations: 4 kB / 0.5255 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.1248, allocations: 0.5499 MB / 0.526 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1248, allocations: 3.938 kB / 0.526 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1249, allocations: 35.92 kB / 0.526 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1249, allocations: 0 / 0.526 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.125, allocations: 3.984 kB / 0.526 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.125, allocations: 11.94 kB / 0.526 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.125, allocations: 4.031 kB / 0.526 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.1253, allocations: 295.5 kB / 0.5263 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.1254, allocations: 100.9 kB / 0.5264 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1254, allocations: 0 / 0.5264 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1256, allocations: 11.94 kB / 0.5264 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1256, allocations: 15.92 kB / 0.5264 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1256, allocations: 4 kB / 0.5265 GB, free: 11.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1258, allocations: 186 kB / 0.5266 GB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1258, allocations: 0 / 0.5266 GB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.1261, allocations: 48 kB / 0.5267 GB, free: 11.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.1263, allocations: 99.23 kB / 0.5268 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1266, allocations: 168.3 kB / 0.5269 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1266, allocations: 0 / 0.5269 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1267, allocations: 67.91 kB / 0.527 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1272, allocations: 61.45 kB / 0.5271 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.1281, allocations: 0.5713 MB / 0.5276 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.1286, allocations: 0.7868 MB / 0.5284 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.1287, allocations: 23.44 kB / 0.5284 GB, free: 9.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1287, allocations: 0 / 0.5284 GB, free: 9.633 MB / 398.1 MB Notification: Performance of Templates: time 0.005535/0.1342, allocations: 3.191 MB / 0.5315 GB, free: 6.445 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.703045913949609] Failed to read output from testmodel.py, exit status != 0: 0.14084642508532852 0.15444055099999995 0.036582633 Calling exit ...