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) 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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001607/0.001607, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.332/1.332, allocations: 205.1 MB / 224.5 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.1749/0.1749, allocations: 37.99 MB / 309.9 MB, free: 5.965 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.00145/0.00145, allocations: 60.38 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08593, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005375/0.09133, allocations: 4.047 MB / 491.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.09284, allocations: 0.9357 MB / 492.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.09306, allocations: 11.94 kB / 492.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.09329, allocations: 55.5 kB / 492.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.09381, allocations: 183 kB / 493 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.09405, allocations: 87.83 kB / 493.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.09451, allocations: 406.5 kB / 493.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.09474, allocations: 126.2 kB / 493.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.09505, allocations: 187.2 kB / 493.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.09542, allocations: 199.3 kB / 494 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.09549, allocations: 24 kB / 494 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.851e-05/0.09556, allocations: 20 kB / 494 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.0957, allocations: 103.7 kB / 494.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.09587, allocations: 151.1 kB / 494.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.09621, allocations: 322.8 kB / 494.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09622, allocations: 0 / 494.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09623, allocations: 0 / 494.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.09625, allocations: 0 / 494.6 MB, free: 1.488 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001068/0.09732, allocations: 0.6167 MB / 495.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.09736, allocations: 11.89 kB / 495.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.09745, allocations: 40.47 kB / 495.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.09796, allocations: 343 kB / 495.6 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.09799, allocations: 16.94 kB / 495.6 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.09804, allocations: 28.12 kB / 495.7 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.0985, allocations: 316.5 kB / 496 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09853, allocations: 4 kB / 496 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.09856, allocations: 12 kB / 496 MB, free: 0 / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.09859, allocations: 4.047 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.09895, allocations: 217.4 kB / 496.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1005, allocations: 1.34 MB / 497.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.1008, allocations: 153.1 kB / 497.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.1009, allocations: 61.75 kB / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.101, allocations: 0 / 497.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.101, allocations: 34.56 kB / 497.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.101, allocations: 4 kB / 497.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007457/0.1018, allocations: 367.7 kB / 498.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1018, allocations: 81.11 kB / 498.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.102, allocations: 255 kB / 498.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1021, allocations: 29.7 kB / 498.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1022, allocations: 199.6 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1023, allocations: 43.36 kB / 498.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.1023, allocations: 53.81 kB / 498.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1025, allocations: 334.8 kB / 499.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1026, allocations: 59.91 kB / 499.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1028, allocations: 148.8 kB / 499.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.1031, allocations: 241.3 kB / 499.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1031, allocations: 0 / 499.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003651/0.1035, allocations: 248.9 kB / 499.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1035, allocations: 8 kB / 499.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1035, allocations: 4.438 kB / 499.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1035, allocations: 8 kB / 499.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1037, allocations: 47.91 kB / 499.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1038, allocations: 4 kB / 499.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1039, allocations: 15.91 kB / 499.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1039, allocations: 11.98 kB / 499.9 MB, free: 11.8 MB / 382.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.0001497/0.1041, allocations: 161.7 kB / 0.4883 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1041, allocations: 27.7 kB / 0.4884 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.1045, allocations: 195.2 kB / 0.4885 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.1045, allocations: 7.984 kB / 0.4886 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1045, allocations: 4 kB / 0.4886 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.1046, allocations: 96.83 kB / 0.4886 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1046, allocations: 7.938 kB / 0.4887 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1048, allocations: 4 kB / 0.4887 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1048, allocations: 11.98 kB / 0.4887 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003718/0.1052, allocations: 336 kB / 0.489 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003997/0.1056, allocations: 441.5 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.501e-05/0.1057, allocations: 59.97 kB / 0.4895 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1059, allocations: 182 kB / 0.4896 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Backend: time 1.563e-06/0.1059, allocations: 3.938 kB / 0.4896 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.1064, allocations: 190.4 kB / 0.4898 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 0.001229/0.1077, allocations: 0.9672 MB / 0.4908 GB, free: 9.02 MB / 382.1 MB Notification: Performance of Templates: time 0.00622/0.1139, allocations: 2.466 MB / 0.4932 GB, free: 6.551 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (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)