Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001296/0.001297, allocations: 119.5 kB / 18.41 MB, free: 4.555 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.001306/0.001307, allocations: 192.3 kB / 21.35 MB, free: 1.621 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.436/1.436, allocations: 222.9 MB / 247 MB, free: 4.215 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.3256/0.3256, allocations: 38 MB / 337.2 MB, free: 12.94 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.11 kB / 467.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 58.07 MB / 0.5133 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006896/0.1141, allocations: 4.506 MB / 0.5177 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.117, allocations: 1.41 MB / 0.519 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1173, allocations: 15.88 kB / 0.5191 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009655/0.1182, allocations: 286.6 kB / 0.5193 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.119, allocations: 286.7 kB / 0.5196 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.1197, allocations: 251.4 kB / 0.5199 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.1206, allocations: 0.6664 MB / 0.5205 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.121, allocations: 248 kB / 0.5207 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.1215, allocations: 298.9 kB / 0.521 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.1221, allocations: 414.8 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.1222, allocations: 44 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.1227, allocations: 219.6 kB / 0.5217 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.123, allocations: 243.4 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.1234, allocations: 294.6 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1244, allocations: 0.7551 MB / 0.5229 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1244, allocations: 0 / 0.5229 GB, free: 15.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1244, allocations: 0 / 0.5229 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1244, allocations: 0 / 0.5229 GB, free: 15.81 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001719/0.1261, allocations: 0.8953 MB / 0.5238 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1262, allocations: 15.89 kB / 0.5238 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.1268, allocations: 100.5 kB / 0.5239 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.1275, allocations: 440.2 kB / 0.5243 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.1276, allocations: 29.36 kB / 0.5244 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.862e-05/0.1277, allocations: 48.06 kB / 0.5244 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.129, allocations: 0.8629 MB / 0.5252 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.129, allocations: 0 / 0.5252 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.1291, allocations: 20 kB / 0.5253 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.1293, allocations: 56.95 kB / 0.5253 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1305, allocations: 0.7963 MB / 0.5261 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.1344, allocations: 2.726 MB / 0.5288 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.1354, allocations: 0.5725 MB / 0.5293 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.136, allocations: 454.7 kB / 0.5297 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.136, allocations: 4.25 kB / 0.5298 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.1361, allocations: 54.48 kB / 0.5298 GB, free: 8.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.645e-06/0.1361, allocations: 0 / 0.5298 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003163/0.1393, allocations: 1.888 MB / 0.5316 GB, free: 6.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1394, allocations: 138.9 kB / 0.5318 GB, free: 6.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.1398, allocations: 296.5 kB / 0.5321 GB, free: 6.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.1398, allocations: 33.7 kB / 0.5321 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.14, allocations: 276.8 kB / 0.5324 GB, free: 5.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.1402, allocations: 190.3 kB / 0.5325 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.1404, allocations: 106 kB / 0.5326 GB, free: 5.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1406, allocations: 354.7 kB / 0.533 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.1411, allocations: 340.9 kB / 0.5333 GB, free: 4.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.1418, allocations: 485.8 kB / 0.5338 GB, free: 4.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.1431, allocations: 0.9799 MB / 0.5347 GB, free: 3.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1431, allocations: 0 / 0.5347 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001603/0.1447, allocations: 0.9889 MB / 0.5357 GB, free: 2.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/0.1448, allocations: 75.8 kB / 0.5358 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.1448, allocations: 7.984 kB / 0.5358 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.145, allocations: 36.84 kB / 0.5358 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.1454, allocations: 91.81 kB / 0.5359 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.1469, allocations: 1.551 MB / 0.5374 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.1472, allocations: 27.97 kB / 0.5374 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.1473, allocations: 28.05 kB / 0.5375 GB, free: 220 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004864/0.1478, allocations: 311.2 kB / 0.5378 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.1479, allocations: 43.72 kB / 0.5378 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.1496, allocations: 1.08 MB / 0.5389 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/0.1497, allocations: 19.92 kB / 0.5389 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.1497, allocations: 0 / 0.5389 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1497, allocations: 4 kB / 0.5389 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.1524, allocations: 1.792 MB / 0.5406 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1524, allocations: 0 / 0.5406 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1527, allocations: 55.91 kB / 0.5407 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.1529, allocations: 36.83 kB / 0.5407 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.1529, allocations: 12 kB / 0.5407 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.1544, allocations: 1.555 MB / 0.5422 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1544, allocations: 8.016 kB / 0.5423 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.1561, allocations: 1.175 MB / 0.5434 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.1564, allocations: 168.8 kB / 0.5436 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.1565, allocations: 20.05 kB / 0.5436 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1567, allocations: 31.97 kB / 0.5436 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.1569, allocations: 39.89 kB / 0.5437 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.157, allocations: 27.92 kB / 0.5437 GB, free: 9.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.1572, allocations: 199.1 kB / 0.5439 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1572, allocations: 4 kB / 0.5439 GB, free: 9.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.1578, allocations: 143.9 kB / 0.544 GB, free: 9.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.1581, allocations: 139.2 kB / 0.5441 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.16, allocations: 1.371 MB / 0.5455 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1601, allocations: 4 kB / 0.5455 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.1612, allocations: 0.9318 MB / 0.5464 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.1618, allocations: 67.97 kB / 0.5465 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.1641, allocations: 1.445 MB / 0.5479 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.1647, allocations: 0.9015 MB / 0.5487 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1649, allocations: 35.44 kB / 0.5488 GB, free: 4.184 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1649, allocations: 0 / 0.5488 GB, free: 4.184 MB / 414.1 MB Notification: Performance of Templates: time 0.01325/0.1782, allocations: 8.492 MB / 0.5571 GB, free: 11.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.224349541007541] Failed to read output from testmodel.py, exit status != 0: 0.1862086480250582 0.20030625200000002 0.07314572100000001 Calling exit ...