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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.00162, allocations: 110.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.182/0.182, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 75.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09539, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005943/0.1014, allocations: 4.507 MB / 492.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.1044, allocations: 1.461 MB / 493.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.1049, allocations: 15.88 kB / 493.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1061, allocations: 287.2 kB / 494.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007426/0.1069, allocations: 282.7 kB / 494.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.1076, allocations: 251.4 kB / 494.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.1084, allocations: 0.6742 MB / 495.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.1089, allocations: 244.2 kB / 495.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.1094, allocations: 302.9 kB / 495.8 MB, free: 312 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.1101, allocations: 410.8 kB / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1103, allocations: 44 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.1108, allocations: 219.6 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1111, allocations: 251.3 kB / 496.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004974/0.1116, allocations: 282.6 kB / 497 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.1125, allocations: 0.7476 MB / 497.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.1125, allocations: 11.98 kB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1125, allocations: 0 / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.521e-05/0.1126, allocations: 0 / 497.7 MB, free: 14.36 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00184/0.1144, allocations: 0.8844 MB / 498.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1145, allocations: 11.89 kB / 498.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.1151, allocations: 88.23 kB / 498.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007783/0.1159, allocations: 439.8 kB / 499.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.116, allocations: 33.36 kB / 499.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/0.1161, allocations: 48.06 kB / 499.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.1174, allocations: 0.8629 MB / 0.4884 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1174, allocations: 0 / 0.4884 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.1175, allocations: 20 kB / 0.4884 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.1176, allocations: 60.89 kB / 0.4884 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1188, allocations: 0.8002 MB / 0.4892 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.1225, allocations: 2.714 MB / 0.4919 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.1234, allocations: 0.5798 MB / 0.4924 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.1239, allocations: 458.7 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.1239, allocations: 0 / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.124, allocations: 42.56 kB / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.535e-06/0.124, allocations: 0 / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.002888/0.1269, allocations: 1.891 MB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.127, allocations: 138.8 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1273, allocations: 300.5 kB / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.1274, allocations: 29.7 kB / 0.4952 GB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1275, allocations: 252.4 kB / 0.4954 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.1277, allocations: 193.2 kB / 0.4956 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1279, allocations: 98.09 kB / 0.4957 GB, free: 4.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1281, allocations: 358.7 kB / 0.4961 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.1285, allocations: 340.9 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.1291, allocations: 489.7 kB / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1302, allocations: 0.9837 MB / 0.4978 GB, free: 1.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1302, allocations: 0 / 0.4978 GB, free: 1.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001383/0.1316, allocations: 0.9731 MB / 0.4988 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.693e-05/0.1317, allocations: 77.59 kB / 0.4988 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.1317, allocations: 15.88 kB / 0.4989 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.1319, allocations: 40.83 kB / 0.4989 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.1322, allocations: 83.89 kB / 0.499 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1335, allocations: 1.555 MB / 0.5005 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.1339, allocations: 31.95 kB / 0.5005 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.1339, allocations: 27.98 kB / 0.5005 GB, free: 14.8 MB / 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.000351/0.1343, allocations: 311.2 kB / 0.5008 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1344, allocations: 43.53 kB / 0.5009 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.1359, allocations: 1.072 MB / 0.5019 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.136, allocations: 11.86 kB / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.136, allocations: 0 / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.1363, allocations: 168.6 kB / 0.5021 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.1364, allocations: 19.98 kB / 0.5021 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.1366, allocations: 27.97 kB / 0.5022 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1368, allocations: 35.95 kB / 0.5022 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001795/0.1386, allocations: 1.393 MB / 0.5035 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002105/0.1407, allocations: 1.838 MB / 0.5053 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006472/0.1413, allocations: 0.6261 MB / 0.506 GB, free: 9.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.1415, allocations: 203.1 kB / 0.5061 GB, free: 8.965 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.1416, allocations: 0 / 0.5061 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.1435, allocations: 1.142 MB / 0.5073 GB, free: 7.793 MB / 398.1 MB Notification: Performance of SimCode: time 0.001868/0.1453, allocations: 1.499 MB / 0.5087 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Templates: time 0.01354/0.1589, allocations: 7.439 MB / 0.516 GB, free: 14.77 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (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)